/**
 * Aura Vittalis 2026 — početna (front-page.php, template-parts/home-*.php).
 *
 * Redosled sekcija i vrednosti prate dizajn (Aura Vittalis Redizajn.dc.html,
 * linije 131–559). Zajedničko (tokeni, dugmad, kartice, forma, razdelnik,
 * zaglavlje sekcije) je u base.css.
 */

/* =========================================================================
   Naslovi sekcija: text-wrap: balance samo gde ga dizajn ima
   (Dobro došli, Priča brenda, Investicija, Vodič, Život, hero, preko cele širine).
   ========================================================================= */

.av-home .av-h2 {
	text-wrap: wrap;
}

.av-home .av-story__title,
.av-home .av-invest__title,
.av-home .av-guide__title,
.av-home .av-life__title,
.av-home .av-map .av-h2 { /* Opisni naslov mape (audit 26.09) ide u dva reda: ravnomerno. */
	text-wrap: balance;
}

/* =========================================================================
   Hero (131–154)
   ========================================================================= */

.av-hero {
	position: relative;
	height: 100vh;
	min-height: 760px;
	overflow: hidden;
	background: var(--av-ink);
	color: #fff;
}

@supports (height: 100svh) {
	.av-hero {
		height: 100svh;
	}
}

.av-hero__poster,
.av-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.av-hero__video {
	opacity: 0;
	transition: opacity .8s ease;
}

.av-hero__video.is-playing {
	opacity: 1;
}

.av-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 22, 26, .55) 0%, rgba(20, 22, 26, .15) 35%, rgba(20, 22, 26, .6) 65%, rgba(20, 22, 26, .92) 100%);
	transition: opacity 1.4s ease;
}

/* Tokom uvoda (klasa is-intro na <html>) vidi se samo video — kao u dizajnu. */
html.is-intro .av-hero__shade {
	opacity: 0;
}

.av-hero__inner {
	position: absolute;
	top: 150px;
	right: 0;
	bottom: 0;
	left: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
	gap: 40px;
	align-items: end;
	align-content: end;
	padding: 0 var(--av-gutter) clamp(40px, 6vh, 72px);
	overflow: hidden;
}

.av-hero__kicker {
	margin: 0 0 18px;
	font-size: 12px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--av-gold-3);
	/* Gradijent je u ovom delu hero-a najslabiji — senka drži kontrast i na svetlim kadrovima. */
	text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}

.av-hero__title {
	margin: 0 0 22px;
	font-family: var(--av-serif);
	font-weight: 400;
	font-size: clamp(40px, 6vw, 88px);
	line-height: .98;
	letter-spacing: -.01em;
	text-wrap: balance;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}

.av-hero__sub {
	max-width: 560px;
	margin: 0 0 32px;
	font-size: 17px;
	line-height: 1.6;
	font-weight: 400;
	color: #fff;
	text-wrap: pretty;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.av-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.av-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	width: 100%;
	max-width: 520px;
	margin-bottom: 56px;
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .18);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.av-hero__stat {
	min-width: 0;
	padding: 22px 18px;
	background: rgba(20, 22, 26, .7);
}

.av-hero__stat-n {
	display: block;
	font-family: var(--av-serif);
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1;
	font-weight: 400;
	white-space: nowrap;
}

.av-hero__stat-l {
	display: block;
	margin-top: 8px;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
}

/* =========================================================================
   Pretraga (156–180)
   ========================================================================= */

.av-search {
	position: relative;
	z-index: 5;
	margin-top: -44px;
	padding: 0 var(--av-gutter);
	background: linear-gradient(180deg, transparent 44px, var(--av-sand) 44px);
}

.av-search__box {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 24px;
	align-items: end;
	max-width: var(--av-max);
	margin: 0 auto;
	padding: 28px clamp(20px, 3vw, 40px);
	background: #fff;
	box-shadow: 0 30px 80px -30px rgba(20, 22, 26, .35);
}

.av-search__field {
	display: grid;
	gap: 8px;
	min-width: 0;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--av-muted);
}

.av-search__select {
	width: 100%;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid var(--av-line);
	border-radius: 0;
	background: transparent;
	color: var(--av-ink);
	font-size: 16px;
	letter-spacing: normal;
	text-transform: none;
}

.av-search__m2 {
	color: var(--av-ink);
}

.av-search__range {
	display: grid;
	gap: 6px;
	padding: 8px 0;
}

.av-search__range input {
	width: 100%;
	margin: 0;
}

.av-search__btn {
	width: 100%;
}

/* =========================================================================
   Promo „Novo u ponudi“ (182–211)
   ========================================================================= */

.av-promo-wrap {
	padding: clamp(80px, 10vw, 130px) var(--av-gutter) 0;
}

.av-promo {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	max-width: var(--av-max);
	margin: 0 auto;
	background: var(--av-ink);
	color: var(--av-sand);
	box-shadow: 0 50px 110px -50px rgba(20, 22, 26, .6);
}

.av-promo__media {
	position: relative;
	min-height: clamp(420px, 48vw, 640px);
	overflow: hidden;
}

.av-promo__link {
	position: absolute;
	inset: 0;
	display: block;
}

.av-promo__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 1.2s ease;
}

.av-promo__img--night,
.av-promo.is-night .av-promo__img--day {
	opacity: 0;
}

.av-promo.is-night .av-promo__img--night {
	opacity: 1;
}

.av-promo__badge {
	position: absolute;
	top: 22px;
	left: 22px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: var(--av-gold);
	color: #fff;
	font-size: 10px;
	letter-spacing: .2em;
	text-transform: uppercase;
	pointer-events: none;
}

.av-promo__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	animation: pulse 1.6s infinite;
}

.av-promo__toggle {
	position: absolute;
	right: 22px;
	bottom: 22px;
	display: flex;
	gap: 2px;
	padding: 4px;
	border-radius: 999px;
	background: rgba(15, 17, 20, .75);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.av-promo__mode {
	padding: 9px 16px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--av-sand);
	font-size: 10px;
	letter-spacing: .16em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .3s, color .3s;
}

.av-promo__mode[aria-pressed="true"] {
	background: var(--av-sand);
	color: var(--av-ink);
}

.av-promo__body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 36px;
	padding: clamp(32px, 4.5vw, 64px);
}

.av-promo__kicker {
	margin: 0 0 14px;
	font-size: 12px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--av-gold-3);
}

.av-promo__title {
	margin: 0 0 20px;
	font-family: var(--av-serif);
	font-weight: 300;
	font-size: clamp(48px, 6vw, 92px);
	line-height: .92;
	letter-spacing: -.01em;
}

.av-promo__sub {
	max-width: 460px;
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	font-weight: 300;
	color: var(--av-sand);
	text-wrap: pretty;
}

.av-promo__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid rgba(245, 241, 234, .14);
	background: rgba(245, 241, 234, .14);
}

/* Neparan broj činjenica: poslednja zauzima ceo red (bez praznog polja). */
.av-promo__fact:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.av-promo__fact {
	padding: 20px 20px 18px;
	background: var(--av-ink);
}

.av-promo__fact-n {
	font-family: var(--av-serif);
	font-size: clamp(28px, 2.8vw, 40px);
	line-height: 1;
	color: var(--av-sand);
}

.av-promo__fact-l {
	margin-top: 8px;
	font-size: 10px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--av-gold-3);
}

.av-promo__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* =========================================================================
   Dobro došli (213–235)
   ========================================================================= */

.av-welcome {
	padding: clamp(88px, 11vw, 150px) var(--av-gutter) 0;
}

.av-welcome__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
	max-width: var(--av-max);
	margin: 0 auto;
}

.av-welcome__media {
	position: relative;
}

.av-welcome__img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.av-welcome__vert {
	position: absolute;
	top: 16px;
	right: 14px;
	color: #fff;
	font-size: 10px;
	letter-spacing: .32em;
	text-transform: uppercase;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
	writing-mode: vertical-rl;
	pointer-events: none;
}

.av-welcome__quote {
	position: absolute;
	bottom: -1px;
	left: -1px;
	max-width: 70%;
	padding: 22px 28px 0 0;
	background: var(--av-sand);
}

.av-welcome__quote p {
	margin: 0;
	font-family: var(--av-serif);
	font-style: italic;
	font-size: clamp(20px, 1.8vw, 26px);
	line-height: 1.3;
	color: var(--av-text);
}

.av-welcome__kicker {
	margin-bottom: 18px;
}

.av-welcome__title {
	margin: 0 0 28px;
	font-family: var(--av-serif);
	font-weight: 300;
	font-size: clamp(36px, 4.4vw, 64px);
	line-height: 1.02;
	text-wrap: balance;
}

.av-welcome__p {
	margin: 0 0 20px;
	font-size: 17px;
	line-height: 1.7;
	font-weight: 300;
	color: var(--av-text);
	text-wrap: pretty;
}

.av-welcome__p:last-of-type {
	margin-bottom: 36px;
}

.av-welcome__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	padding-top: 26px;
	border-top: 1px solid var(--av-line);
}

.av-welcome__fact-n {
	font-family: var(--av-serif);
	font-size: 40px;
	line-height: 1;
}

.av-welcome__fact-l {
	margin-top: 8px;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--av-muted);
}

/* =========================================================================
   Poverenje + garancije (237–263)
   ========================================================================= */

.av-trust {
	padding: clamp(80px, 10vw, 130px) var(--av-gutter) 0;
}

.av-trust__inner {
	display: grid;
	gap: clamp(48px, 6vw, 80px);
	max-width: var(--av-max);
	margin: 0 auto;
}

.av-trust__numbers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	border-top: 1px solid var(--av-gold);
	border-bottom: 1px solid var(--av-line);
}

.av-trust__num {
	display: grid;
	gap: 10px;
	padding: 30px 20px 26px 0;
}

.av-trust__n {
	font-family: var(--av-serif);
	font-weight: 300;
	font-size: clamp(46px, 5vw, 72px);
	line-height: .9;
	color: var(--av-ink);
}

.av-trust__l {
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--av-muted);
}

.av-trust__gar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(32px, 5vw, 72px);
}

.av-trust__head {
	flex: 1 1 280px;
}

.av-trust__list {
	display: grid;
	flex: 2 1 520px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 28px 36px;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.av-trust__item {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.av-trust__check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--av-gold);
	border-radius: 50%;
	color: var(--av-gold);
}

.av-trust__text {
	display: grid;
	gap: 6px;
}

.av-trust__t {
	font-family: var(--av-serif);
	font-size: 24px;
	line-height: 1.1;
}

.av-trust__d {
	font-size: 14px;
	line-height: 1.6;
	font-weight: 300;
	color: var(--av-text);
}

/* =========================================================================
   Izabrani projekti (267–294)
   ========================================================================= */

.av-featured {
	padding: clamp(72px, 9vw, 120px) var(--av-gutter) 0;
}

/* =========================================================================
   Mapa projekata (297–328)
   ========================================================================= */

.av-map__head {
	margin-bottom: 36px;
}

.av-map__live {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--av-text);
}

.av-map__pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--av-green);
	animation: pulse 1.8s ease-in-out infinite;
}

.av-map__box {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	background: #fff;
	box-shadow: 0 40px 90px -50px rgba(20, 22, 26, .4);
}

/* Linkovi ka stranama lokacija ispod mape (popravke 26.09, OCENA #8): isti stil kao „Sve nekretnine →“. */
.av-map__places {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 14px 28px;
	margin: 36px 0 0;
}

.av-map__places-label {
	font-size: 12px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--av-gold);
}

@media (max-width: 599px) {
	.av-map__places-label {
		flex-basis: 100%;
	}
}

.av-map__list {
	display: grid;
	gap: 4px;
	align-content: start;
	max-height: 600px;
	margin: 0;
	padding: clamp(18px, 2vw, 28px);
	overflow-y: auto;
	list-style: none;
	scrollbar-width: thin;
}

.av-map__item {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 12px;
	color: var(--av-ink);
	transition: background-color .25s;
}

.av-map__item:hover,
.av-map__item.is-active {
	background: var(--av-sand);
	color: var(--av-ink);
}

.av-map__thumb {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
}

.av-map__info {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.av-map__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
}

.av-map__name {
	font-family: var(--av-serif);
	font-size: 21px;
	line-height: 1.05;
}

.av-map__loc {
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--av-muted);
	white-space: nowrap;
}

.av-map__bar {
	position: relative;
	height: 3px;
	overflow: hidden;
	background: var(--av-line-3);
}

.av-map__fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: var(--av-pct, 0%);
	background: var(--av-gold);
	transition: width 1.2s var(--av-ease);
}

.av-map__free {
	font-size: 12px;
	color: var(--av-text);
}

.av-map__free strong {
	font-weight: 500;
	color: var(--av-ink);
}

.av-map__canvas-wrap {
	position: relative;
	min-height: 560px;
	background: #E9E4DA;
}

.av-map__canvas {
	position: absolute;
	inset: 0;
	filter: saturate(.55) sepia(.12);
}

/* =========================================================================
   3D renderi (330–347)
   ========================================================================= */

.av-renders {
	padding: 0 0 clamp(72px, 9vw, 120px);
}

.av-renders__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: end;
	gap: 24px;
	max-width: var(--av-max);
	margin: 0 auto;
	padding: 0 var(--av-gutter) 32px;
}

.av-renders__sub {
	max-width: 400px;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	font-weight: 300;
	color: var(--av-text);
}

.av-renders__track {
	display: flex;
	gap: 16px;
	padding: 0 var(--av-gutter);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--av-gutter);
	scrollbar-width: none;
}

.av-renders__track::-webkit-scrollbar {
	display: none;
}

.av-renders__track.is-dragging {
	scroll-snap-type: none;
	cursor: grabbing;
	user-select: none;
}

.av-renders__item {
	flex: 0 0 clamp(280px, 38vw, 560px);
	margin: 0;
	scroll-snap-align: start;
}

.av-renders__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.av-renders__cap {
	margin-top: 10px;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--av-muted);
}

/* =========================================================================
   Preko cele širine (349–359)
   ========================================================================= */

.av-bleed {
	position: relative;
	height: clamp(420px, 70vh, 720px);
	overflow: hidden;
	background: var(--av-ink);
	color: #fff;
}

.av-bleed__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.av-bleed__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(20, 22, 26, .8) 0%, rgba(20, 22, 26, .35) 55%, rgba(20, 22, 26, .1) 100%);
}

.av-bleed__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 22px;
	max-width: var(--av-max);
	height: 100%;
	margin: 0 auto;
	padding: 0 var(--av-gutter);
}

.av-bleed__kicker {
	margin: 0;
	font-size: 12px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--av-gold-3);
	text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}

.av-bleed__title {
	max-width: 640px;
	margin: 0;
	font-family: var(--av-serif);
	font-weight: 400;
	font-size: clamp(38px, 5vw, 72px);
	line-height: 1;
	text-wrap: balance;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .4);
}

.av-bleed__sub {
	max-width: 480px;
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	font-weight: 300;
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.av-bleed__cta {
	align-self: flex-start;
	margin-top: 10px;
}

/* =========================================================================
   Priča brenda (361–382)
   ========================================================================= */

.av-story {
	padding: clamp(80px, 10vw, 140px) var(--av-gutter);
}

.av-story__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
	max-width: var(--av-max);
	margin: 0 auto;
}

.av-story__kicker {
	margin-bottom: 18px;
}

.av-story__title {
	margin-bottom: 28px;
}

.av-story__p {
	margin: 0 0 18px;
	font-size: 17px;
	line-height: 1.75;
	font-weight: 300;
	color: var(--av-text);
	text-wrap: pretty;
}

.av-story__p + .av-story__p {
	margin-bottom: 36px;
}

.av-story__label {
	margin: 0 0 14px;
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--av-muted);
}

.av-story__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.av-story__chip {
	display: block;
	padding: 9px 14px;
	border: 1px solid var(--av-line);
	color: var(--av-ink);
	font-family: var(--av-serif);
	font-size: 18px;
	line-height: 1;
	transition: border-color .3s, color .3s;
}

.av-story__chip:hover {
	border-color: var(--av-gold);
	color: var(--av-gold);
}

.av-story__media {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.av-story__img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.av-story__img:first-child {
	margin-top: 56px;
}

.av-story__vert {
	position: absolute;
	bottom: 18px;
	left: 14px;
	color: #fff;
	font-size: 10px;
	letter-spacing: .3em;
	text-transform: uppercase;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	pointer-events: none;
}

/* =========================================================================
   Investicija (384–399)
   ========================================================================= */

.av-invest {
	background: var(--av-ink);
	color: var(--av-sand);
}

.av-invest__title {
	max-width: 720px;
	margin-bottom: 56px;
}

.av-invest__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 40px 32px;
}

.av-invest__item {
	padding-top: 22px;
	border-top: 1px solid rgba(245, 241, 234, .2);
}

.av-invest__num {
	margin-bottom: 14px;
	font-family: var(--av-serif);
	font-size: 20px;
	color: var(--av-gold-3);
}

.av-invest__t {
	margin: 0 0 10px;
	font-family: var(--av-serif);
	font-weight: 400;
	font-size: 26px;
	line-height: 1.1;
}

.av-invest__d {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	font-weight: 300;
	color: rgba(245, 241, 234, .75);
}

/* =========================================================================
   Vodič za kupce (401–419)
   ========================================================================= */

.av-guide {
	padding: clamp(80px, 10vw, 140px) var(--av-gutter) 0;
}

.av-guide__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: end;
	gap: 24px;
	margin-bottom: 48px;
}

.av-guide__title {
	max-width: 640px;
}

.av-guide__sub {
	max-width: 380px;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	font-weight: 300;
	color: var(--av-text);
}

.av-guide__steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--av-gold);
	list-style: none;
}

.av-guide__step {
	position: relative;
	display: grid;
	gap: 14px;
	align-content: start;
	padding: 28px 24px 8px 0;
}

.av-guide__diamond {
	position: absolute;
	top: -5px;
	left: 0;
	width: 9px;
	height: 9px;
	background: var(--av-gold);
	transform: rotate(45deg);
}

.av-guide__n {
	font-family: var(--av-serif);
	font-weight: 300;
	font-size: 54px;
	line-height: 1;
	color: var(--av-gold);
}

.av-guide__t {
	font-family: var(--av-serif);
	font-size: 26px;
	line-height: 1.1;
}

.av-guide__d {
	font-size: 14px;
	line-height: 1.65;
	font-weight: 300;
	color: var(--av-text);
}

.av-guide__more {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 32px;
	margin: 40px 0 0;
}

/* =========================================================================
   Česta pitanja (423–446)
   ========================================================================= */

.av-faq {
	padding: clamp(64px, 8vw, 110px) var(--av-gutter) 0;
}

.av-faq__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(32px, 5vw, 80px);
	max-width: var(--av-max);
	margin: 0 auto;
}

.av-faq__intro {
	flex: 1 1 300px;
}

.av-faq__title {
	margin-bottom: 22px;
}

.av-faq__note {
	max-width: 360px;
	margin: 0 0 26px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--av-muted);
}

.av-faq__wa {
	padding: 14px 24px;
}

.av-faq__list {
	flex: 2 1 520px;
	min-width: 0;
	border-top: 1px solid var(--av-line);
}

.av-faq__item {
	border-bottom: 1px solid var(--av-line);
}

.av-faq__q {
	margin: 0;
	font: inherit;
}

.av-faq__btn {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	width: 100%;
	padding: 24px 0;
	border: 0;
	background: transparent;
	color: var(--av-ink);
	text-align: left;
	cursor: pointer;
}

.av-faq__q-text {
	font-family: var(--av-serif);
	font-size: clamp(21px, 2vw, 26px);
	line-height: 1.2;
}

.av-faq__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--av-input);
	border-radius: 50%;
	background: transparent;
	color: var(--av-ink);
	font-size: 18px;
	line-height: 1;
	transition: transform .35s, background-color .35s;
}

.av-faq__item.is-open .av-faq__icon {
	border-color: var(--av-ink);
	background: var(--av-ink);
	color: #fff;
	transform: rotate(45deg);
}

.av-faq__a p {
	margin: 0;
	padding: 0 60px 26px 0;
	font-size: 15px;
	line-height: 1.75;
	font-weight: 300;
	color: var(--av-text);
}

.av-faq__item.is-open .av-faq__a p {
	animation: fadeUp .35s ease both;
}

/* Link „Detaljnije u vodiču“ ispod odgovora (pitanja pripadaju vodiču za kupce). */
.av-faq__a p:not(:last-child) {
	padding-bottom: 12px;
}

.av-faq__a .av-faq__more-link {
	border-bottom: 1px solid var(--av-gold);
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--av-ink);
}

.av-faq__a .av-faq__more-link:hover {
	color: var(--av-gold);
}

/* Zatvoreni odgovori se kriju samo kad JS radi (bez JS-a sve je vidljivo). */
.av-js .av-faq__item:not(.is-open) .av-faq__a {
	display: none;
}

/* =========================================================================
   Život u Aura (448–466)
   ========================================================================= */

.av-life {
	padding: clamp(80px, 10vw, 140px) var(--av-gutter) clamp(64px, 8vw, 100px);
}

.av-life__head {
	margin-bottom: 36px;
}

.av-life__title {
	max-width: 640px;
}

.av-life__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(150px, 17vw, 250px);
	gap: 12px;
}

.av-life__item {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: var(--av-line-2);
}

.av-life__item--wide {
	grid-column: span 2;
}

.av-life__item--tall {
	grid-row: span 2;
}

/* Poslednja pločica popunjava ostatak svog reda (broj kolona računa home-life.php). */
.av-life__item--fill {
	grid-column: span var(--av-fill, 1);
}

.av-life__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.av-life__cap {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 40px 20px 16px;
	background: linear-gradient(0deg, rgba(15, 17, 20, .7), rgba(15, 17, 20, 0));
	color: #fff;
	font-family: var(--av-serif);
	font-size: 22px;
	line-height: 1.1;
	pointer-events: none;
}

/* =========================================================================
   Iskustva kupaca / video (469–498)
   ========================================================================= */

.av-reviews {
	padding: 0 var(--av-gutter) clamp(80px, 10vw, 130px);
}

.av-reviews--solo {
	padding-top: clamp(64px, 8vw, 110px);
}

.av-reviews__title {
	margin-bottom: 40px;
}

.av-reviews__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 20px;
}

.av-reviews__video {
	position: relative;
	min-height: 380px;
	overflow: hidden;
	background: var(--av-ink);
	color: #fff;
}

.av-reviews--solo .av-reviews__grid {
	grid-template-columns: minmax(0, 1fr);
}

.av-reviews--solo .av-reviews__video {
	min-height: clamp(380px, 42vw, 560px);
}

.av-reviews__poster,
.av-reviews__player {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.av-reviews__player {
	background: var(--av-ink);
}

/* Pre klika se vidi poster (<img>), video tek kad se pusti. */
.av-reviews__video:not(.is-playing) .av-reviews__player {
	visibility: hidden;
}

.av-reviews__play {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	padding: 26px;
	border: 0;
	background: linear-gradient(0deg, rgba(15, 17, 20, .85), rgba(15, 17, 20, .15));
	color: #fff;
	text-align: left;
	cursor: pointer;
}

.av-reviews__play-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--av-gold);
	color: #fff;
	transition: transform .35s var(--av-ease);
}

.av-reviews__play:hover .av-reviews__play-icon {
	transform: scale(1.08);
}

.av-reviews__play-kicker {
	display: block;
	margin: 0 0 6px;
	font-size: 10px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--av-gold-3);
}

.av-reviews__play-title {
	display: block;
	font-family: var(--av-serif);
	font-size: 28px;
	line-height: 1.1;
}

.av-reviews__video.is-playing .av-reviews__play {
	display: none;
}

.av-reviews__card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 30px;
	min-height: 380px;
	padding: clamp(28px, 3vw, 40px);
	background: #fff;
}

.av-reviews__quote {
	margin: 0;
}

.av-reviews__mark {
	display: block;
	height: 34px;
	font-family: var(--av-serif);
	font-size: 70px;
	line-height: .6;
	color: var(--av-gold);
}

.av-reviews__quote p {
	margin: 0;
	font-family: var(--av-serif);
	font-size: 23px;
	line-height: 1.35;
	text-wrap: pretty;
}

.av-reviews__who {
	display: grid;
	gap: 4px;
	padding-top: 18px;
	border-top: 1px solid var(--av-line-2);
}

.av-reviews__name {
	font-size: 14px;
	font-weight: 500;
}

.av-reviews__place {
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--av-muted);
}

/* =========================================================================
   Instagram (546–559)
   ========================================================================= */

.av-ig {
	padding: clamp(56px, 7vw, 90px) 0 clamp(64px, 8vw, 100px);
}

.av-ig__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: end;
	gap: 16px;
	max-width: var(--av-max);
	margin: 0 auto;
	padding: 0 var(--av-gutter) 24px;
}

.av-ig__kicker {
	margin-bottom: 8px;
}

.av-ig__handle {
	font-family: var(--av-serif);
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 1;
	color: var(--av-ink);
}

.av-ig__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 4px;
}

.av-ig__item {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--av-line-2);
}

.av-ig__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--av-ease), filter .6s;
}

.av-ig__item:hover .av-ig__img {
	transform: scale(1.08);
	filter: brightness(.8);
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 599px) {
	/* Na uskom ekranu tekst prelazi preko cele slike, pa vodoravni gradijent nije dovoljan:
	   najtamniji je pojas u sredini, gde je (centriran) tekst. */
	.av-bleed__shade {
		background: linear-gradient(0deg, rgba(20, 22, 26, .6) 0%, rgba(20, 22, 26, .74) 25%, rgba(20, 22, 26, .74) 75%, rgba(20, 22, 26, .42) 100%);
	}

	/* Mozaik u 2 kolone: u 4 kolone natpisi na 390 px ne staju (i u dizajnu su odsečeni). */
	.av-life__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 140px;
	}

	.av-life__item--tall {
		grid-row: span 1;
	}

	.av-life__item--fill {
		grid-column: span var(--av-fill-m, 1);
	}

	.av-life__cap {
		padding: 32px 14px 12px;
		font-size: 19px;
	}

	.av-ig__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	/* Tri činjenice u „Dobro došli“ u jednom redu, kao u dizajnu; duža oznaka
	   („rasprodatih projekata“) prelama se unutar svoje kolone. */
	.av-welcome__facts {
		flex-wrap: nowrap;
		gap: 22px;
	}

	.av-welcome__fact {
		min-width: 0;
	}
}

/* Priča brenda: naslov čipova je H3 pod „Investitor na primorju“ (audit 26.09), izgled ostaje mala oznaka. */
h2.av-story__label,
h3.av-story__label {
	font-family: var(--av-sans);
	font-weight: 400;
	line-height: 1.4;
}

.av-story__link {
	border-bottom: 1px solid var(--av-gold);
	color: var(--av-ink);
}

/* Full bleed: drugi link (sve u Lastvi) uz dugme. */
.av-bleed__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
}
