/*
 * OptiReview: domača stran v videzu po nordqr.com.
 * Uvod: naslov, podnaslov in gumba levo, desno telefon, ki se ga dotakne kartica. Nato izjava, vrstice s temnimi
 * ploščami, črn pas s posnetkom med besedama, izdelki na temnih karticah, mnenje, vprašanja, črn zaključni poziv.
 * Plošča (.panel) in žetoni so v main.css, vprašanja iz product.css.
 */

.site-main--home {
	padding: 0;
}

/* Uvod: besedilo levo, ponazoritev desno */

.intro {
	padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 96px);
}

.intro__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}

.intro h1 {
	max-width: 10em;
	margin: 0 0 24px;
	color: var(--text);
	font-size: clamp(2.5rem, 1.4rem + 3vw, 3.875rem);
	line-height: 1.04;
}

.intro__lead {
	max-width: 32em;
	margin: 0 0 36px;
	color: var(--muted);
	font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
	line-height: 1.55;
}

.intro__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
}

/* Pod gumbi: fotografije uporabnikov (zaenkrat demo) in število iz zaključenih naročil */

.proof {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: 28px;
}

.proof__faces {
	display: flex;
	flex: none;
}

.proof__faces img {
	width: 40px;
	height: 40px;
	border: 2px solid #fff;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 2px 6px rgba(19, 19, 22, 0.14);
}

.proof__faces img + img {
	margin-left: -12px;
}

.proof__text {
	margin: 0;
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.35;
	white-space: nowrap;
}

/* Na telefonu manjše fotografije, da sta fotografije in besedilo v eni vrstici */
@media (max-width: 480px) {
	.proof {
		gap: 10px 12px;
	}

	.proof__faces img {
		width: 34px;
		height: 34px;
	}

	.proof__faces img + img {
		margin-left: -10px;
	}

	.proof__text {
		font-size: 0.875rem;
	}
}

.proof__text strong {
	color: var(--text);
	font-weight: 600;
}

.home-v2 .proof__text {
	color: rgba(255, 255, 255, 0.8);
}

.home-v2 .proof__text strong {
	color: #fff;
}

.intro--v3 .proof {
	justify-content: center;
}

@media (min-width: 901px) {
	.intro--v4 .proof {
		justify-content: flex-start;
	}
}

/* V2 (predogled ?next=2): uvod v prelivu iz temno vijolične v temno zeleno, glava ostane bela; svetlejši sij pod kartico */

.home-v2 .intro {
	background:
		radial-gradient(28% 42% at 64% 56%, rgba(150, 170, 255, 0.2) 0%, transparent 70%),
		linear-gradient(115deg, #2b1f73 10%, #0e4a38 90%);
	color: #fff;
}

.home-v2 .intro h1 {
	color: #fff;
}

.home-v2 .intro__lead {
	color: rgba(255, 255, 255, 0.86);
}

.home-v2 .intro .btn--accent {
	background: #fff;
	color: var(--accent);
}

.home-v2 .intro .btn--accent:hover {
	background: var(--accent-soft);
	color: var(--accent-hover);
}

.home-v2 .intro .btn--outline {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
	color: #fff;
}

.home-v2 .intro .btn--outline:hover {
	background: rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 0 0 1.5px #fff;
	color: #fff;
}

.home-v2 .demo .demo__stage {
	display: none;
}

.home-v2 .demo__card {
	filter: drop-shadow(0 28px 34px rgba(10, 20, 40, 0.45));
}

.home-v2 .demo__phone {
	box-shadow: inset 0 0 0 1.5px #3a3a42, 0 44px 70px -26px rgba(10, 20, 40, 0.55);
}

/* Ponazoritev: kartica se dotakne telefona, odpre se obrazec, zvezdice se napolnijo. Brez gibanja je vidno končno stanje. */

.demo {
	--demo-t: 9s;
	--demo-d: 0.6s;
	position: relative;
	justify-self: end;
	width: 100%;
	max-width: 580px;
	aspect-ratio: 580 / 620;
	margin: 0;
}

.demo .demo__stage {
	position: absolute;
	inset: 7% 0 11% 6%;
	border-radius: 20px;
	background:
		radial-gradient(48% 58% at 28% 60%, rgba(125, 165, 255, 0.62) 0%, rgba(74, 74, 216, 0.3) 48%, transparent 78%),
		radial-gradient(90% 70% at 100% 0%, rgba(74, 74, 216, 0.4) 0%, transparent 62%),
		linear-gradient(165deg, #211f3a 0%, var(--ink) 58%);
	box-shadow: 0 40px 80px -40px rgba(19, 19, 22, 0.55);
}

.demo__card {
	position: absolute;
	top: 34%;
	left: 0;
	z-index: 2;
	width: 33%;
	height: auto;
	transform: rotate(-10deg);
	filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.45));
}

.demo__nfc {
	position: absolute;
	top: 50%;
	left: 39.5%;
	z-index: 3;
	width: 13%;
	aspect-ratio: 1;
	pointer-events: none;
}

.demo__nfc span {
	position: absolute;
	inset: 0;
	border: 2px solid rgba(168, 168, 255, 0.9);
	border-radius: 50%;
	opacity: 0;
}

.demo__phone {
	position: absolute;
	top: 0;
	right: 7%;
	z-index: 1;
	width: 49%;
	aspect-ratio: 9 / 19;
	padding: 1.5%;
	border-radius: 15% / 7.2%;
	background: #0a0a0c;
	box-shadow: inset 0 0 0 1.5px #3a3a42, 0 40px 60px -24px rgba(0, 0, 0, 0.6);
	container-type: inline-size;
}

.demo__screen {
	position: relative;
	height: 100%;
	overflow: hidden;
	border-radius: 12.5cqw;
	background: #fff;
}

.demo__screen::before {
	content: "";
	position: absolute;
	top: 3.2cqw;
	left: 50%;
	z-index: 4;
	width: 30cqw;
	height: 8.4cqw;
	border-radius: 999px;
	background: #0a0a0c;
	translate: -50% 0;
}

.demo__lock {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 24cqw;
	background: linear-gradient(170deg, #34307a 0%, #1a1832 45%, var(--ink) 100%);
	color: #fff;
	opacity: 0;
}

.demo__time {
	font: 600 21cqw/1 var(--font);
	letter-spacing: -0.03em;
}

.demo__hint {
	margin: auto 6cqw 14cqw;
	padding: 2.6cqw 5cqw;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.82);
	font-size: 4.8cqw;
	line-height: 1.3;
	text-align: center;
}

.demo__form {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	padding: 21cqw 7.5cqw 8cqw;
	background: #fff;
	color: #202124;
}

.demo__form p {
	margin: 0;
}

.demo__biz {
	font: 600 7.6cqw/1.2 var(--font);
	letter-spacing: -0.01em;
}

.demo__sub {
	margin: 1.6cqw 0 7cqw !important;
	color: #5f6368;
	font-size: 4.6cqw;
	line-height: 1.3;
}

.demo__stars {
	display: flex;
	gap: 2.2cqw;
	margin-bottom: 7cqw;
	color: #fbbc04;
}

.demo__stars span {
	display: flex;
}

.demo__stars .icon {
	width: 11cqw;
	height: 11cqw;
	fill: currentColor;
	stroke: none;
}

.demo__text {
	min-height: 30cqw;
	padding: 4.2cqw 4.5cqw;
	border: 1px solid #dadce0;
	border-radius: 3.6cqw;
	font-size: 4.6cqw;
	line-height: 1.4;
}

.demo__text span {
	display: inline-block;
	white-space: nowrap;
}

.demo__photos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2cqw;
	margin-top: 4cqw;
	padding: 5cqw;
	border: 1px dashed #bdc1c6;
	border-radius: 3.6cqw;
	color: #1a73e8;
	font-size: 4.4cqw;
	font-weight: 500;
}

.demo__photos .icon {
	width: 5cqw;
	height: 5cqw;
}

.demo__post {
	align-self: flex-end;
	margin-top: auto;
	padding: 3.2cqw 7.5cqw;
	border-radius: 999px;
	background: #1a73e8;
	color: #fff;
	font: 600 4.8cqw/1 var(--font);
}

.demo__toast {
	position: absolute;
	right: 6cqw;
	bottom: 7cqw;
	left: 6cqw;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 2.6cqw;
	padding: 3.6cqw 4.4cqw;
	border-radius: 3.6cqw;
	background: #202124;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
	color: #fff;
	font-size: 4.4cqw;
	font-weight: 500;
	opacity: 0;
}

.demo__toast .icon {
	width: 5cqw;
	height: 5cqw;
	color: #81c995;
}

@media (prefers-reduced-motion: no-preference) {
	.demo__card {
		animation: demo-card var(--demo-t) var(--ease-out) var(--demo-d) infinite both;
	}

	.demo__nfc span {
		animation: demo-nfc var(--demo-t) ease-out var(--demo-d) infinite both;
	}

	.demo__nfc span + span {
		animation-delay: calc(var(--demo-d) + 0.35s);
	}

	.demo__lock {
		animation: demo-lock var(--demo-t) ease var(--demo-d) infinite both;
	}

	.demo__form {
		animation: demo-form var(--demo-t) var(--ease-out) var(--demo-d) infinite both;
	}

	.demo__stars span {
		animation: demo-star var(--demo-t) ease-out var(--demo-d) infinite both;
	}

	.demo__stars span:nth-child(2) { animation-delay: calc(var(--demo-d) + 0.18s); }
	.demo__stars span:nth-child(3) { animation-delay: calc(var(--demo-d) + 0.36s); }
	.demo__stars span:nth-child(4) { animation-delay: calc(var(--demo-d) + 0.54s); }
	.demo__stars span:nth-child(5) { animation-delay: calc(var(--demo-d) + 0.72s); }

	.demo__text span {
		animation: demo-type var(--demo-t) linear var(--demo-d) infinite both;
	}

	.demo__post {
		animation: demo-post var(--demo-t) ease var(--demo-d) infinite both;
	}

	.demo__toast {
		animation: demo-toast var(--demo-t) var(--ease-out) var(--demo-d) infinite both;
	}

	.demo.is-offscreen *,
	.demo.is-offscreen *::before {
		animation-play-state: paused;
	}
}

@keyframes demo-card {
	0%, 10% { transform: translate(0, 0) rotate(-10deg); }
	22%, 68% { transform: translate(52%, -5%) rotate(-4deg); }
	80%, 100% { transform: translate(0, 0) rotate(-10deg); }
}

@keyframes demo-nfc {
	0%, 21% { opacity: 0; transform: scale(0.4); }
	23% { opacity: 1; }
	36%, 100% { opacity: 0; transform: scale(1.7); }
}

@keyframes demo-lock {
	0%, 27% { opacity: 1; }
	31%, 93% { opacity: 0; }
	97%, 100% { opacity: 1; }
}

@keyframes demo-form {
	0%, 27% { opacity: 0; transform: translateY(10%); }
	33%, 93% { opacity: 1; transform: none; }
	97%, 100% { opacity: 0; transform: translateY(10%); }
}

@keyframes demo-star {
	0%, 36% { color: #dadce0; transform: scale(1); }
	38% { color: #fbbc04; transform: scale(1.25); }
	41%, 92% { color: #fbbc04; transform: scale(1); }
	96%, 100% { color: #dadce0; }
}

@keyframes demo-type {
	0%, 46% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(20, end); }
	57%, 93% { clip-path: inset(0 0 0 0); }
	97%, 100% { clip-path: inset(0 100% 0 0); }
}

@keyframes demo-post {
	0%, 61% { transform: scale(1); filter: none; }
	63% { transform: scale(0.92); filter: brightness(0.88); }
	66%, 100% { transform: scale(1); filter: none; }
}

@keyframes demo-toast {
	0%, 64% { opacity: 0; transform: translateY(30%); }
	68%, 86% { opacity: 1; transform: none; }
	90%, 100% { opacity: 0; transform: translateY(30%); }
}

/* Izjava */

.statement {
	padding-block: clamp(104px, 13vw, 184px) clamp(72px, 9vw, 128px);
}

.statement__text {
	max-width: 22em;
	margin: 0 auto;
	color: var(--text);
	font-size: clamp(1.625rem, 1rem + 2.1vw, 2.75rem);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.3;
}

/* Vrstice s temnimi ploščami */

.rows {
	padding-bottom: clamp(104px, 13vw, 184px);
}

.row {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(40px, 7vw, 112px);
	align-items: center;
}

.row + .row {
	margin-top: clamp(96px, 11vw, 168px);
}

.row__media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 0.96;
	padding: 11%;
}

.row__tile {
	position: relative;
	width: 100%;
	max-width: 420px;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--sky);
	box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}

.row__tile img,
.row__tile video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}

/* Posnetek brez plošče, čez vso širino stolpca */

.row__media.row__media--video {
	aspect-ratio: auto;
	padding: 0;
}

.row__media--video .row__tile {
	max-width: none;
	border-radius: var(--radius-slab);
	box-shadow: 0 30px 60px -28px rgba(19, 19, 22, 0.35);
}

.row__body {
	max-width: 30em;
}

.row__body h2 {
	margin-bottom: 20px;
	color: var(--text);
	font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem);
	line-height: 1.08;
}

.row__body p {
	margin-bottom: 28px;
	color: var(--muted);
	font-size: 1.0625rem;
}

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

.ticks li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--text);
	font-weight: 500;
}

.ticks .icon {
	margin-top: 2px;
	color: var(--accent);
}

/* Iskalnik podjetja (ponazoritev koraka na blagajni) */

.find {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	max-width: 380px;
	padding: 24px;
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
	color: var(--text);
	font-size: 0.875rem;
}

.find__title {
	margin: 0 0 6px;
	font: 700 1.1875rem/1.2 var(--serif);
	letter-spacing: -0.01em;
}

.find__label {
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 500;
}

.find__field {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 46px;
	padding: 0 14px;
	border: 1.5px solid var(--accent);
	border-radius: var(--radius);
	box-shadow: 0 0 0 3px var(--accent-soft);
	font-size: 0.9375rem;
}

.find__field .icon {
	color: var(--muted);
}

.find__field span::after {
	content: "";
	display: inline-block;
	width: 1.5px;
	height: 1.1em;
	margin-left: 2px;
	background: var(--accent);
	vertical-align: -0.2em;
}

@media (prefers-reduced-motion: no-preference) {
	.find__field span::after {
		animation: find-caret 1.1s steps(1) infinite;
	}
}

@keyframes find-caret {
	50% { opacity: 0; }
}

.find__result {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--radius);
	background: var(--accent-soft);
	line-height: 1.3;
}

.find__result > .icon:first-child {
	color: var(--accent);
}

.find__result strong,
.find__result small {
	display: block;
}

.find__result strong {
	font-weight: 600;
}

.find__result small {
	color: var(--muted);
	font-size: 0.75rem;
}

.find__result > .icon:last-child {
	margin-left: auto;
	color: var(--accent);
}

.find__note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	color: var(--ok);
	font-weight: 500;
}

/* Napisa SLO in ENG: črni kartici na svetli plošči z Googlovim sijem, na vogalu vsake okrogla nalepka z zastavo jezika */

.row__media.duo {
	overflow: visible;
	padding: 7% 6%;
	background:
		radial-gradient(120% 90% at 0% 100%, rgba(251, 188, 5, 0.3) 0%, transparent 58%),
		radial-gradient(90% 70% at 100% 0%, rgba(74, 74, 216, 0.14) 0%, transparent 62%),
		linear-gradient(165deg, #f6f6f9 0%, #ebebf0 100%);
	color: var(--text);
}

.duo__stage {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7%;
	align-items: start;
	width: 100%;
	max-width: 480px;
}

.duo__item {
	position: relative;
	transform: rotate(-5deg);
}

.duo__item--eng {
	margin-top: 9%;
	transform: rotate(5deg);
}

.duo__card {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 2px 3px rgba(20, 20, 40, 0.22)) drop-shadow(0 28px 30px rgba(20, 20, 40, 0.3));
}

.duo__pin {
	position: absolute;
	top: 0;
	right: 0;
	width: clamp(34px, 21%, 46px);
	height: auto;
	aspect-ratio: 1;
	border: 3px solid #fff;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 8px 18px -6px rgba(20, 20, 40, 0.45);
	translate: 30% -30%;
}

/* Grb na slovenski zastavi je ob drogu, zato krog pokaže levi del */
.duo__pin--si {
	object-position: 28% 50%;
}

/* Ocene na Googlu (ponazoritev v HTML): kartice ležijo neposredno na plošči, ki se ob ozkem zaslonu podaljša */

.row__media--reviews {
	overflow: visible;
}

.reviews {
	display: grid;
	gap: 14px;
	width: 100%;
	max-width: 400px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--text);
	font-size: 0.8125rem;
}

.review {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	grid-template-areas:
		"av who g"
		"text text text";
	gap: 10px 12px;
	align-items: center;
	padding: 16px 18px 18px;
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: 0 24px 44px -20px rgba(0, 0, 0, 0.75);
}

.review:nth-child(1) {
	transform: translateX(-5%) rotate(-1.5deg);
}

.review:nth-child(2) {
	transform: translateX(5%) rotate(1deg);
}

.review:nth-child(3) {
	transform: translateX(-2%) rotate(-0.5deg);
}

.review__avatar {
	grid-area: av;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.review__who {
	grid-area: who;
	min-width: 0;
	line-height: 1.3;
}

.review__who strong {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
}

.review__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
	margin-top: 2px;
	white-space: nowrap;
	color: var(--muted);
	font-size: 0.75rem;
}

.review__stars {
	display: inline-flex;
	gap: 1px;
	color: #fbbc04;
}

.review__stars .icon {
	width: 13px;
	height: 13px;
	fill: currentColor;
	stroke: none;
}

.review__g {
	grid-area: g;
	align-self: start;
}

.review__text {
	grid-area: text;
	line-height: 1.5;
}

/* Črn pas: ob drsenju navzdol pride prva beseda z leve, druga z desne (--from), in obstaneta ob telefonu (--end) */

.simple {
	--w: clamp(210px, 21vw, 290px);
	display: grid;
	grid-template-areas: "stack";
	place-items: center;
	overflow: hidden;
	padding-block: clamp(72px, 9vw, 136px);
	background: var(--ink);
	color: #fff;
}

.simple__title {
	display: grid;
	grid-area: stack;
	justify-items: center;
	row-gap: calc(var(--w) * 2.11 - clamp(70px, 9vw, 130px));
	margin: 0;
	color: #fff;
	font-size: clamp(3.25rem, 0.8rem + 11vw, 11rem);
	letter-spacing: -0.03em;
	line-height: 0.95;
	text-align: center;
	white-space: nowrap;
}

.simple__word {
	translate: var(--end) 0;
}

.simple__word--1 {
	--from: -40%;
	--end: 7%;
}

.simple__word--2 {
	--from: 40%;
	--end: -7%;
}

/* Brskalniki brez časovnice drsenja (Safari do različice 25, Firefox): home.js doda .simple--slide in besedi .is-in, ko pride na zaslon */
@media (prefers-reduced-motion: no-preference) {
	.simple--slide .simple__word {
		opacity: 0;
		translate: var(--from) 0;
		transition: translate 1s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.8s ease;
	}

	.simple--slide .simple__word.is-in {
		opacity: 1;
		translate: var(--end) 0;
	}
}

.simple__sticker {
	position: relative;
	z-index: 1;
	grid-area: stack;
	width: calc(var(--w) * 0.8);
	height: auto;
	filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5));
}

.simple__media {
	position: relative;
	z-index: 1;
	grid-area: stack;
	width: var(--w);
	aspect-ratio: 9 / 19;
}

.qrphone__device {
	height: 100%;
	padding: calc(var(--w) * 0.035);
	border-radius: calc(var(--w) * 0.15);
	background: #0a0a0c;
	box-shadow: inset 0 0 0 1.5px #3a3a42, 0 40px 80px -30px rgba(0, 0, 0, 0.9);
	container-type: inline-size;
}

/* Telefon s fotoaparatom: na sredini je najprej sama nalepka; telefon pride izmenično z desne in z leve in jo prekrije, slika v kameri se premakne v nasprotno smer in izostri, okvir se ujame na
   kodo, povezava, obrazec, zvezdice, objava; na koncu telefon odide v levo. Slika kamere je širša od zaslona, da se
   lahko premika brez praznih robov. */

.qrphone {
	--qr-t: 9s;
	--qr-d: 0.4s;
	--dir: 1; /* 1: pride z desne, -1: z leve; home.js jo obrne ob vsaki ponovitvi */
}

.qrphone__screen {
	position: relative;
	height: 100%;
	overflow: hidden;
	border-radius: 12.5cqw;
	background: #000;
}

.qrphone__screen::before {
	content: "";
	position: absolute;
	top: 3.2cqw;
	left: 50%;
	z-index: 6;
	width: 30cqw;
	height: 8.4cqw;
	border-radius: 999px;
	background: #0a0a0c;
	translate: -50% 0;
}

.qrphone__screen::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1;
	height: 15cqw;
	background: rgba(0, 0, 0, 0.55);
}

.qrphone__cam {
	position: absolute;
	top: -18%;
	left: -30%;
	width: 160%;
	max-width: none;
	height: 118%;
	object-fit: cover;
}

.qrphone__frame {
	position: absolute;
	top: 45.5%;
	left: 22.5%;
	z-index: 2;
	width: 55%;
	height: 27.5%;
	opacity: 0;
}

.qrphone__frame i {
	position: absolute;
	width: 7cqw;
	height: 7cqw;
	border: 0 solid #ffd60a;
}

.qrphone__frame i:nth-child(1) {
	top: 0;
	left: 0;
	border-width: 1cqw 0 0 1cqw;
	border-top-left-radius: 2.4cqw;
}

.qrphone__frame i:nth-child(2) {
	top: 0;
	right: 0;
	border-width: 1cqw 1cqw 0 0;
	border-top-right-radius: 2.4cqw;
}

.qrphone__frame i:nth-child(3) {
	bottom: 0;
	left: 0;
	border-width: 0 0 1cqw 1cqw;
	border-bottom-left-radius: 2.4cqw;
}

.qrphone__frame i:nth-child(4) {
	right: 0;
	bottom: 0;
	border-width: 0 1cqw 1cqw 0;
	border-bottom-right-radius: 2.4cqw;
}

.qrphone__pill {
	position: absolute;
	top: 74%;
	left: 50%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 1.4cqw;
	padding: 1.8cqw 3.8cqw;
	border-radius: 999px;
	background: #ffd60a;
	color: #1c1c1e;
	font: 600 3.6cqw/1 var(--font);
	white-space: nowrap;
	opacity: 0;
	translate: -50% 0;
}

.qrphone__pill .icon {
	width: 3.6cqw;
	height: 3.6cqw;
}

.qrphone__bar {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3.5cqw;
	height: 21%;
	padding-top: 3.5cqw;
	background: #000;
}

.qrphone__bar span {
	color: #ffd60a;
	font: 600 3.2cqw/1 var(--font);
	letter-spacing: 0.08em;
}

.qrphone__bar i {
	display: block;
	width: 15cqw;
	height: 15cqw;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 1.2cqw #000, 0 0 0 2cqw #fff;
}

.qrphone__form {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	flex-direction: column;
	padding: 21cqw 7.5cqw 8cqw;
	background: #fff;
	color: #202124;
}

.qrphone__form p {
	margin: 0;
}

.qrphone__biz {
	font: 600 7.6cqw/1.2 var(--font);
	letter-spacing: -0.01em;
}

.qrphone__sub {
	margin: 1.6cqw 0 7cqw !important;
	color: #5f6368;
	font-size: 4.6cqw;
	line-height: 1.3;
}

.qrphone__stars {
	display: flex;
	gap: 2.2cqw;
	margin-bottom: 7cqw;
	color: #fbbc04;
}

.qrphone__stars span {
	display: flex;
}

.qrphone__stars .icon {
	width: 11cqw;
	height: 11cqw;
	fill: currentColor;
	stroke: none;
}

.qrphone__text {
	min-height: 30cqw;
	padding: 4.2cqw 4.5cqw;
	border: 1px solid #dadce0;
	border-radius: 3.6cqw;
	font-size: 4.4cqw;
	line-height: 1.4;
}

.qrphone__text span {
	display: inline-block;
	white-space: nowrap;
}

.qrphone__post {
	align-self: flex-end;
	margin-top: auto;
	padding: 3.2cqw 7.5cqw;
	border-radius: 999px;
	background: #1a73e8;
	color: #fff;
	font: 600 4.8cqw/1 var(--font);
}

.qrphone__toast {
	position: absolute;
	right: 6cqw;
	bottom: 7cqw;
	left: 6cqw;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 2.6cqw;
	padding: 3.6cqw 4.4cqw;
	border-radius: 3.6cqw;
	background: #202124;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
	color: #fff;
	font-size: 4.4cqw;
	font-weight: 500;
	opacity: 0;
}

.qrphone__toast .icon {
	width: 5cqw;
	height: 5cqw;
	color: #81c995;
}

@media (prefers-reduced-motion: no-preference) {
	.qrphone__device {
		animation: qr-phone var(--qr-t) var(--ease-out) var(--qr-d) infinite both;
	}

	.qrphone__cam {
		animation: qr-cam var(--qr-t) var(--ease-out) var(--qr-d) infinite both;
	}

	.qrphone__frame {
		animation: qr-frame var(--qr-t) var(--ease-out) var(--qr-d) infinite both;
	}

	.qrphone__pill {
		animation: qr-pill var(--qr-t) var(--ease-out) var(--qr-d) infinite both;
	}

	.qrphone__form {
		animation: qr-form var(--qr-t) var(--ease-out) var(--qr-d) infinite both;
	}

	.qrphone__stars span {
		animation: qr-star var(--qr-t) ease-out var(--qr-d) infinite both;
	}

	.qrphone__stars span:nth-child(2) { animation-delay: calc(var(--qr-d) + 0.16s); }
	.qrphone__stars span:nth-child(3) { animation-delay: calc(var(--qr-d) + 0.32s); }
	.qrphone__stars span:nth-child(4) { animation-delay: calc(var(--qr-d) + 0.48s); }
	.qrphone__stars span:nth-child(5) { animation-delay: calc(var(--qr-d) + 0.64s); }

	.qrphone__text span {
		animation: qr-type var(--qr-t) linear var(--qr-d) infinite both;
	}

	.qrphone__post {
		animation: qr-post var(--qr-t) ease var(--qr-d) infinite both;
	}

	.qrphone__toast {
		animation: qr-toast var(--qr-t) var(--ease-out) var(--qr-d) infinite both;
	}

	.qrphone.is-offscreen *,
	.qrphone.is-offscreen *::before {
		animation-play-state: paused;
	}
}

@keyframes qr-phone {
	0%, 4% { translate: calc(var(--dir) * 105%) 4%; rotate: calc(var(--dir) * 12deg); opacity: 0; }
	8% { opacity: 1; }
	15% { translate: 0 0; rotate: 0deg; }
	17% { rotate: calc(var(--dir) * -0.8deg); }
	19% { rotate: calc(var(--dir) * 0.5deg); }
	21%, 92% { translate: 0 0; rotate: 0deg; opacity: 1; }
	100% { translate: calc(var(--dir) * -105%) 3%; rotate: calc(var(--dir) * -10deg); opacity: 0; }
}

@keyframes qr-cam {
	0%, 4% { translate: calc(var(--dir) * -18%) 0; filter: blur(3px); }
	15% { translate: 0 0; filter: blur(2px); }
	21%, 92% { translate: 0 0; filter: blur(0); }
	100% { translate: calc(var(--dir) * 12%) 0; filter: blur(1px); }
}

@keyframes qr-frame {
	0%, 17% { top: 14%; left: 10%; width: 80%; height: 56%; opacity: 0.85; }
	24%, 36% { top: 45.5%; left: 22.5%; width: 55%; height: 27.5%; opacity: 1; }
	39%, 100% { top: 45.5%; left: 22.5%; width: 55%; height: 27.5%; opacity: 0; }
}

@keyframes qr-pill {
	0%, 25% { opacity: 0; transform: translateY(20%) scale(0.9); }
	28%, 36% { opacity: 1; transform: none; }
	38% { opacity: 1; transform: scale(0.92); }
	41%, 100% { opacity: 0; transform: none; }
}

@keyframes qr-form {
	0%, 40% { transform: translateY(100%); }
	46%, 92% { transform: none; }
	98%, 100% { transform: translateY(100%); }
}

@keyframes qr-star {
	0%, 50% { color: #dadce0; transform: scale(1); }
	52% { color: #fbbc04; transform: scale(1.25); }
	55%, 92% { color: #fbbc04; transform: scale(1); }
	95%, 100% { color: #dadce0; }
}

@keyframes qr-type {
	0%, 58% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(24, end); }
	68%, 92% { clip-path: inset(0 0 0 0); }
	95%, 100% { clip-path: inset(0 100% 0 0); }
}

@keyframes qr-post {
	0%, 72% { transform: scale(1); filter: none; }
	74% { transform: scale(0.92); filter: brightness(0.88); }
	77%, 100% { transform: scale(1); filter: none; }
}

@keyframes qr-toast {
	0%, 76% { opacity: 0; transform: translateY(30%); }
	80%, 89% { opacity: 1; transform: none; }
	92%, 100% { opacity: 0; transform: translateY(30%); }
}

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.simple__word {
			animation: simple-in linear both;
			animation-timeline: view();
			animation-range: entry 0% cover 40%;
		}

		.simple__media {
			animation: simple-rise linear both;
			animation-timeline: view();
			animation-range: entry 10% cover 50%;
		}
	}
}

@keyframes simple-in {
	from {
		opacity: 0;
		translate: var(--from) 0;
	}

	to {
		opacity: 1;
		translate: var(--end) 0;
	}
}

@keyframes simple-rise {
	from { scale: 0.84; }
	to { scale: 1; }
}

/* Izdelki na temnih karticah; cela kartica je povezava (::after na naslovu) */

.choose .band__title {
	color: var(--text);
}

.pcards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pcard {
	/* Fotografija je zgoraj čez vso širino in se spodaj zlije v ploščo; sij sveti iz spodnjega levega vogala za besedilom. */
	--glow-at: 130% 75% at 0% 100%;
	--glow-fade: 64%;
	position: relative;
	display: flex;
	flex-direction: column-reverse;
	transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.pcard:hover {
	box-shadow: 0 30px 50px -30px rgba(19, 19, 22, 0.6);
	transform: translateY(-4px);
}

.pcard__body {
	z-index: 1;
	display: flex;
	flex: 1;
	flex-direction: column;
	margin-top: -40px;
	padding: 0 28px 24px;
}

.pcard h3 {
	margin: 0 0 10px;
	font-size: 2rem;
	line-height: 1.1;
}

.pcard h3 a {
	color: #fff;
	text-decoration: none;
}

.pcard h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: var(--radius-slab);
}

.pcard h3 a:focus-visible {
	outline: none;
}

.pcard h3 a:focus-visible::after {
	outline: 2px solid var(--accent-on-ink);
	outline-offset: -4px;
}

.pcard p {
	margin: 0 0 24px;
	color: var(--muted-on-ink);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.pcard__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pcard__price {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.pcard__price del {
	margin-right: 6px;
	color: var(--muted-on-ink);
	font-weight: 400;
}

.pcard__price ins {
	text-decoration: none;
}

.pcard__go {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	transition: background-color 0.2s, transform 0.3s var(--ease-out);
}

.pcard:hover .pcard__go {
	background: var(--accent);
	transform: translateX(2px);
}

.pcard__media {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, #000 48%, transparent 96%);
	mask-image: linear-gradient(180deg, #000 48%, transparent 96%);
}

.pcard__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	transition: transform 0.6s var(--ease-out);
}

.pcard:hover .pcard__media img {
	transform: scale(1.03);
}

/* Mnenje */

.voice__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(40px, 7vw, 112px);
	align-items: center;
}

.voice__quote {
	margin: 0;
}

.voice__mark {
	margin-bottom: 24px;
	color: var(--text);
	fill: currentColor;
	stroke: none;
}

.voice blockquote {
	margin: 0;
}

.voice blockquote p {
	margin: 0;
	color: var(--text);
	font-size: clamp(1.375rem, 1rem + 1.2vw, 2rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.35;
}

.voice mark {
	color: inherit;
}

.voice figcaption {
	margin-top: 28px;
	font-size: 0.9375rem;
}

.voice figcaption strong {
	display: block;
	color: var(--text);
	font-weight: 600;
}

.voice figcaption span {
	color: var(--muted);
}

.voice__photo img {
	width: 100%;
	max-width: 420px;
	height: auto;
	margin-left: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius-slab);
}

/* Zaključni poziv */

.closer {
	padding-block: clamp(88px, 11vw, 160px);
	background: var(--ink);
	color: #fff;
	text-align: center;
}

.closer h2 {
	max-width: 16ch;
	margin: 0 auto 16px;
	color: #fff;
	font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem);
	line-height: 1.05;
}

.closer p {
	margin: 0 auto 36px;
	color: var(--muted-on-ink);
	font-size: 1.0625rem;
}

/* Odzivnost */

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

	.demo {
		justify-self: center;
		max-width: 460px;
	}
}

@media (max-width: 1000px) {
	.row,
	.voice__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.row__media {
		max-width: 600px;
	}

	.voice__photo img {
		max-width: 360px;
		margin-left: 0;
	}
}

@media (max-width: 760px) {
	.pcards {
		display: flex;
		gap: 14px;
		margin-inline: calc(-1 * var(--gutter));
		padding-inline: var(--gutter);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}

	.pcards > li {
		flex: 0 0 84%;
		scroll-snap-align: start;
	}
}

@media (max-width: 700px) {
	.intro__actions .btn {
		flex: 1 1 100%;
	}

	.row__media {
		padding: 9%;
	}

	.find {
		padding: 18px;
	}

	.pcard__body {
		padding: 0 22px 20px;
	}
}

/* V3 (predogled ?next=3): uvod po nordqr.com. Besedilo na sredini, pod njim v ozadju okno z ocenami podjetja, v
   ospredju telefon desno in kartica, ki se ga dotakne. Na telefonu se odpre obrazec, po »Objavi« se ocena vstavi na
   vrh seznama z vijoličnim robom. Velikosti v oknu so v enotah okna (--u), da se kompozicija pomanjša cela. */

.intro--v3 {
	overflow: hidden;
	padding-block: clamp(48px, 7vw, 104px) clamp(24px, 3vw, 48px);
}

.intro--v3 .intro__head {
	text-align: center;
}

.intro--v3 h1 {
	max-width: 12.5em;
	margin: 0 auto 24px;
	font-size: clamp(2.5rem, 1.1rem + 4.8vw, 4.875rem);
	line-height: 1;
}

.intro--v3 .intro__lead {
	max-width: 36em;
	margin: 0 auto 36px;
}

.intro--v3 .intro__actions {
	justify-content: center;
}

.demo--scene {
	justify-self: auto;
	max-width: 1040px;
	aspect-ratio: 1040 / 600;
	margin: clamp(36px, 4vw, 56px) auto 0;
}

.scene__window {
	--u: 1cqw;
	position: absolute;
	top: 12%;
	left: 4%;
	display: flex;
	flex-direction: column;
	width: 62%;
	height: 76%;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(19, 19, 22, 0.06), 0 20px 50px -30px rgba(19, 19, 22, 0.22);
	container-type: inline-size;
}

.scene__tabs {
	display: flex;
	justify-content: center;
	gap: calc(var(--u) * 2.8);
	padding-top: calc(var(--u) * 2.2);
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: calc(var(--u) * 1.9);
}

.scene__tabs span {
	padding-bottom: calc(var(--u) * 1.5);
}

.scene__tabs .is-active {
	box-shadow: inset 0 -2px 0 var(--text);
	color: var(--text);
}

.scene__body {
	flex: 1;
	padding: calc(var(--u) * 3.4) calc(var(--u) * 7) 0 calc(var(--u) * 6);
	background: #f4f4f6;
}

.scene__title {
	margin: 0 0 calc(var(--u) * 2);
	color: var(--text);
	font-size: calc(var(--u) * 2.4);
	font-weight: 600;
	line-height: 1.2;
}

.scene__list {
	margin: 0;
	padding: 0;
	border-radius: calc(var(--u) * 1.2);
	background: #fff;
	box-shadow: 0 0 0 1px var(--line);
	list-style: none;
}

.scene__row {
	display: grid;
	grid-template-areas: "av who when" "av text text";
	grid-template-columns: calc(var(--u) * 4.6) minmax(0, 1fr) auto;
	gap: calc(var(--u) * 0.4) calc(var(--u) * 1.8);
	align-items: center;
	padding: calc(var(--u) * 1.8) calc(var(--u) * 2.2);
	border-top: 1px solid var(--line);
	color: var(--text);
	font-size: calc(var(--u) * 1.75);
	line-height: 1.35;
}

.scene__row:first-child {
	border-top: 0;
}

.scene__avatar {
	display: grid;
	grid-area: av;
	place-items: center;
	width: calc(var(--u) * 4.6);
	height: calc(var(--u) * 4.6);
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: calc(var(--u) * 2);
	font-weight: 600;
}

.scene__who {
	display: flex;
	grid-area: who;
	align-items: center;
	gap: calc(var(--u) * 1.2);
}

.scene__who strong {
	font-weight: 600;
}

.scene__stars {
	display: inline-flex;
	gap: calc(var(--u) * 0.2);
	color: #fbbc04;
}

.scene__stars .icon {
	width: calc(var(--u) * 1.8);
	height: calc(var(--u) * 1.8);
	fill: currentColor;
	stroke: none;
}

.scene__text {
	grid-area: text;
	overflow: hidden;
	color: var(--muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.scene__when {
	grid-area: when;
	color: var(--muted);
	font-size: calc(var(--u) * 1.5);
}

.scene__row--new {
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: calc(var(--u) * 1.2);
	background: #fff;
}

.demo--scene .demo__phone {
	top: -4%;
	right: 12%;
	z-index: 2;
	width: 25%;
	padding: 0.8%;
}

.demo--scene .demo__card {
	top: 20%;
	left: 44%;
	z-index: 3;
	width: 16%;
	transform: rotate(-10deg);
}

.demo--scene .demo__nfc {
	top: 32%;
	left: 59%;
	z-index: 4;
	width: 10%;
}

@media (prefers-reduced-motion: no-preference) {
	.demo--scene .demo__card {
		animation-name: scene-card;
	}

	.scene__row--new {
		animation: scene-row var(--demo-t) var(--ease-out) var(--demo-d) infinite both;
	}
}

@keyframes scene-card {
	0%, 10% { transform: translate(0, 0) rotate(-10deg); }
	20%, 60% { transform: translate(34%, -4%) rotate(-4deg); }
	72%, 100% { transform: translate(0, 0) rotate(-10deg); }
}

@keyframes scene-row {
	0%, 67% { max-height: 0; padding-block: 0; opacity: 0; box-shadow: none; transform: none; }
	72%, 80% { max-height: 20cqw; padding-block: calc(var(--u) * 1.8); opacity: 1; box-shadow: 0 0 0 2px var(--accent), 0 14px 28px -12px rgba(74, 74, 216, 0.5); transform: rotate(-1.2deg) scale(1.02); }
	88%, 94% { max-height: 20cqw; padding-block: calc(var(--u) * 1.8); opacity: 1; box-shadow: 0 0 0 0 transparent; transform: none; }
	98%, 100% { max-height: 0; padding-block: 0; opacity: 0; }
}

@media (max-width: 700px) {
	.demo--scene {
		aspect-ratio: 358 / 400;
	}

	.scene__window {
		--u: 1.9cqw;
		top: 14%;
		left: 0;
		width: 78%;
		height: 70%;
	}

	.scene__body {
		padding-inline: calc(var(--u) * 2.4) calc(var(--u) * 4);
	}

	.scene__text,
	.scene__when {
		display: none;
	}

	.scene__row {
		grid-template-areas: "av who";
		grid-template-columns: calc(var(--u) * 4.6) minmax(0, 1fr);
	}

	.demo--scene .demo__phone {
		top: -2%;
		right: 2%;
		width: 42%;
		padding: 1.3%;
	}

	.demo--scene .demo__card {
		top: 22%;
		left: 28%;
		width: 26%;
	}

	.demo--scene .demo__nfc {
		top: 28%;
		left: 50%;
		width: 16%;
	}
}

/* V4 (predogled ?next=4): prizor V3 desno, naslov, podnaslov in gumba levo. Na ozkih zaslonih se zloži kot V3. */

@media (min-width: 901px) {
	.intro--v4 .intro__stack {
		display: grid;
		grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
		gap: clamp(32px, 4vw, 64px);
		align-items: center;
	}

	.intro--v4 .intro__head {
		text-align: left;
	}

	.intro--v4 h1 {
		max-width: 10em;
		margin: 0 0 24px;
		font-size: clamp(2.5rem, 1.6rem + 2.4vw, 3.5rem);
		line-height: 1.04;
	}

	.intro--v4 .intro__lead {
		max-width: 32em;
		margin: 0 0 36px;
	}

	.intro--v4 .intro__actions {
		justify-content: flex-start;
	}

	.intro--v4 .demo--scene {
		width: 100%;
		max-width: 700px;
		aspect-ratio: 680 / 620;
		margin: 0 0 0 auto;
	}

	.intro--v4 .scene__window {
		--u: 1.45cqw;
		top: 14%;
		left: 0;
		width: 70%;
		height: 70%;
	}

	.intro--v4 .scene__body {
		padding: calc(var(--u) * 3.4) calc(var(--u) * 16) 0 calc(var(--u) * 4);
	}

	.intro--v4 .scene__when {
		display: none;
	}

	.intro--v4 .scene__row {
		grid-template-areas: "av who" "av text";
		grid-template-columns: calc(var(--u) * 4.6) minmax(0, 1fr);
	}

	.intro--v4 .demo--scene .demo__phone {
		top: 0;
		right: 2%;
		width: 38%;
		padding: 1.2%;
	}

	.intro--v4 .demo--scene .demo__card {
		top: 40%;
		left: 30%;
		width: 27.5%;
	}

	.intro--v4 .demo--scene .demo__nfc {
		top: 54%;
		left: 53.5%;
		width: 15%;
	}
}

/* V4: kartica je glede na telefon za četrtino večja; do roba telefona se premakne manj. */

.intro--v4 .demo--scene .demo__card {
	animation-name: scene-card-v4;
}

@keyframes scene-card-v4 {
	0%, 10% { transform: translate(0, 0) rotate(-10deg); }
	20%, 60% { transform: translate(26%, -4%) rotate(-4deg); }
	72%, 100% { transform: translate(0, 0) rotate(-10deg); }
}

@media (max-width: 900px) {
	.intro--v4 .demo--scene .demo__card {
		left: 40%;
		width: 20%;
	}
}

@media (max-width: 700px) {
	.intro--v4 .demo--scene .demo__card {
		top: 22%;
		left: 22%;
		width: 32.5%;
	}

	.intro--v4 .demo--scene .demo__nfc {
		top: 37%;
		left: 49%;
	}
}

/* V4: začetni zaslon telefona je domači zaslon v slogu iOS 17 (lastno valovito ozadje v SVG, lastne ikone). Ob dotiku kartice se
   pokaže obvestilo »Oznaka NFC«, nato se odpre obrazec. Velikosti so v enotah širine telefona (cqw). */

.demo__lock.ios {
	display: block;
	padding: 0;
	background: #1c0006;
}

.ios__wall {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ios__status,
.ios__grid {
	position: relative;
}

.ios__status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4.4cqw 8cqw 0 10cqw;
	color: #fff;
	font: 600 4.2cqw/1 var(--font);
}

.ios__sys {
	display: flex;
	align-items: flex-end;
	gap: 1.1cqw;
}

.ios__sys i {
	display: block;
	width: 1.2cqw;
	border-radius: 0.4cqw;
	background: #fff;
}

.ios__sys i:nth-child(1) {
	height: 1.6cqw;
}

.ios__sys i:nth-child(2) {
	height: 2.4cqw;
}

.ios__sys i:nth-child(3) {
	width: 5.6cqw;
	height: 2.6cqw;
	margin-left: 1cqw;
	border-radius: 0.9cqw;
}

.ios__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 5cqw 3cqw;
	margin: 0;
	padding: 12cqw 6cqw 0;
	list-style: none;
}

.ios__grid li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.6cqw;
	min-width: 0;
}

.ios__app {
	display: grid;
	place-items: center;
	width: 15.5cqw;
	height: 15.5cqw;
	border-radius: 3.6cqw;
	background: var(--bg);
	box-shadow: 0 0.6cqw 1.6cqw rgba(0, 0, 0, 0.18);
	color: var(--fg);
}

.ios__app svg {
	width: 8.6cqw;
	height: 8.6cqw;
}

.ios__grid small {
	max-width: 100%;
	overflow: hidden;
	color: #fff;
	font-size: 2.7cqw;
	line-height: 1.1;
	text-overflow: ellipsis;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	white-space: nowrap;
}

.ios__dock {
	position: absolute;
	right: 4cqw;
	bottom: 3.5cqw;
	left: 3.5cqw;
	display: flex;
	justify-content: space-around;
	padding: 3.4cqw 3cqw;
	border-radius: 9cqw;
	background: rgba(255, 255, 255, 0.26);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.ios__dots {
	position: absolute;
	bottom: 28cqw;
	left: 50%;
	display: flex;
	gap: 1.5cqw;
	padding: 1.8cqw 3.2cqw;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	translate: -50% 0;
}

.ios__dots i {
	display: block;
	width: 1.5cqw;
	height: 1.5cqw;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
}

.ios__dots i:nth-child(2) {
	background: #fff;
}

.ios__banner {
	position: absolute;
	top: 13cqw;
	right: 3cqw;
	left: 3cqw;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 2.4cqw;
	padding: 2.6cqw 3cqw;
	border-radius: 5cqw;
	background: rgba(245, 245, 247, 0.94);
	box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.25);
	color: #1c1c1e;
	line-height: 1.25;
	opacity: 0;
}

.ios__banner-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 8cqw;
	height: 8cqw;
	border-radius: 2cqw;
	background: var(--accent);
	color: #fff;
}

.ios__banner-icon .icon {
	width: 5cqw;
	height: 5cqw;
}

.ios__banner strong,
.ios__banner small {
	display: block;
}

.ios__banner strong {
	font-size: 3.2cqw;
	font-weight: 600;
}

.ios__banner small {
	color: #3a3a3c;
	font-size: 2.9cqw;
}

@media (prefers-reduced-motion: no-preference) {
	.ios__banner {
		animation: ios-banner var(--demo-t) var(--ease-out) var(--demo-d) infinite both;
	}
}

@keyframes ios-banner {
	0%, 21% { opacity: 0; transform: translateY(-130%); }
	24%, 29% { opacity: 1; transform: none; }
	32%, 100% { opacity: 0; transform: translateY(-40%); }
}

/* Pas s QR na ozkem zaslonu: manjši telefon, besedi se ga le dotakneta in ostaneta na mestu. */

@media (max-width: 700px) {
	.simple {
		--w: 170px;
	}

	.simple__title {
		row-gap: calc(var(--w) * 2.11 - 24px);
		font-size: 2.9rem;
	}

	.simple__word--1,
	.simple__word--2 {
		--end: 0%;
	}
}
