/* ================================================
   VR Testimonials — Luxury Dark Center Mode
   Google Fonts: Playfair Display + DM Sans
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Design tokens ── */
.vrt-wrapper {
	--vrt-accent:       #c8a96e;
	--vrt-accent2:      #e8c98e;
	--vrt-glow:         rgba(200, 169, 110, 0.22);
	--vrt-card-bg:      rgba(255,255,255,0.04);
	--vrt-card-border:  rgba(255,255,255,0.10);
	--vrt-active-bg:    rgba(255,255,255,0.09);
	--vrt-active-border:rgba(200,169,110,0.50);
	--vrt-text:         rgba(255,255,255,0.75);
	--vrt-text-dim:     rgba(255,255,255,0.38);
	--vrt-name-color:   #ffffff;
}

/* ── Wrapper ── */
.vrt-wrapper {
	position: relative;
	padding-bottom: 72px;
	overflow: hidden;
	font-family: 'DM Sans', sans-serif;
}

/* Background gradient mesh */
.vrt-wrapper::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 60% at 20% 50%, rgba(200,169,110,0.12) 0%, transparent 70%),
		radial-gradient(ellipse 50% 70% at 80% 30%, rgba(120,80,200,0.10) 0%, transparent 65%);
	pointer-events: none;
	z-index: 0;
}

/* ── Swiper ── */
.vrt-swiper {
	overflow: visible !important;
	padding: 40px 0 16px;
	position: relative;
	z-index: 1;
}

/* ── Slides: scale + opacity transitions ── */
.vrt-swiper .swiper-slide {
	transition:
		transform 0.55s cubic-bezier(0.34, 1.2, 0.64, 1),
		opacity   0.45s ease,
		filter    0.45s ease;
	transform: scale( var(--vrt-side-scale, 0.88) );
	opacity:   var(--vrt-side-opacity, 0.45);
	filter:    blur(1px);
	height: auto;
	display: flex;
}

/* ── Active slide ── */
.vrt-swiper .swiper-slide-active {
	transform: scale( var(--vrt-center-scale, 1.12) );
	opacity: 1;
	filter: blur(0);
	z-index: 2;
}

/* ── Card — base (side cards) ── */
.vrt-card {
	background: var(--vrt-card-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--vrt-card-border);
	border-radius: 28px;
	padding: 48px 44px 40px;
	width: 100%;
	display: flex;
	flex-direction: column;
	box-shadow:
		0 4px 24px rgba(0,0,0,0.18),
		inset 0 1px 0 rgba(255,255,255,0.06);
	transition:
		box-shadow  0.55s ease,
		border-color 0.55s ease,
		background  0.55s ease;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

/* Subtle inner shimmer line */
.vrt-card::before {
	content: '';
	position: absolute;
	top: 0; left: 10%; right: 10%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* ── Active card ── */
.swiper-slide-active .vrt-card {
	background: var(--vrt-active-bg);
	border-color: var(--vrt-active-border);
	box-shadow:
		0 0 0 1px rgba(200,169,110,0.18),
		0 24px 80px rgba(0,0,0,0.35),
		0 0 60px var(--vrt-glow),
		inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Gold accent bar at top of active card */
.swiper-slide-active .vrt-card::after {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--vrt-accent), var(--vrt-accent2), transparent);
	border-radius: 28px 28px 0 0;
}

/* ── Quote mark ── */
.vrt-quote {
	display: block;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 72px;
	line-height: 0.75;
	color: var(--vrt-accent);
	font-weight: 700;
	margin-bottom: 4px;
	user-select: none;
	opacity: 0.9;
	letter-spacing: -2px;
}

/* ── Stars ── */
.vrt-stars {
	display: flex;
	gap: 3px;
	margin-bottom: 20px;
}

.vrt-star {
	font-size: 16px;
	color: rgba(255,255,255,0.18);
	line-height: 1;
	transition: color 0.3s;
}

.vrt-star.on {
	color: var(--vrt-accent);
	text-shadow: 0 0 8px rgba(200,169,110,0.5);
}

/* ── Content ── */
.vrt-content {
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	font-size: 16px;
	line-height: 1.85;
	color: var(--vrt-text);
	margin: 0 0 32px;
	flex-grow: 1;
	font-weight: 400;
	letter-spacing: 0.01em;
}

/* ── Divider ── */
.vrt-author {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: auto;
	padding-top: 24px;
	position: relative;
}

.vrt-author::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(200,169,110,0.35), transparent);
}

/* ── Avatar ── */
.vrt-avatar {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255,255,255,0.18);
	flex-shrink: 0;
	transition: border-color 0.4s ease, box-shadow 0.4s ease;
	box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.swiper-slide-active .vrt-avatar {
	border-color: var(--vrt-accent);
	box-shadow:
		0 0 0 3px rgba(200,169,110,0.20),
		0 4px 20px rgba(0,0,0,0.3);
}

/* ── Author text ── */
.vrt-author-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.vrt-name {
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: var(--vrt-name-color);
	line-height: 1.3;
	display: block;
	letter-spacing: 0.01em;
}

.vrt-role {
	font-family: 'DM Sans', sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: var(--vrt-text-dim);
	line-height: 1.3;
	display: block;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* ── Navigation Buttons ── */
.vrt-btn {
	position: absolute;
	top: 50%;
	transform: translateY(calc(-50% - 36px));
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 1px solid rgba(200,169,110,0.40);
	background: rgba(255,255,255,0.06);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: var(--vrt-accent);
	cursor: pointer;
	transition:
		background  0.28s ease,
		border-color 0.28s ease,
		color       0.28s ease,
		transform   0.28s cubic-bezier(0.34,1.4,0.64,1),
		box-shadow  0.28s ease;
	box-shadow: 0 4px 20px rgba(0,0,0,0.25);
	padding: 0;
	outline: none;
}

.vrt-btn:hover {
	background: var(--vrt-accent);
	border-color: var(--vrt-accent);
	color: #1a1208;
	transform: translateY(calc(-50% - 36px)) scale(1.12);
	box-shadow: 0 8px 32px rgba(200,169,110,0.40);
}

.vrt-btn:focus-visible {
	outline: 2px solid var(--vrt-accent);
	outline-offset: 3px;
}

.vrt-prev { left: 8px; }
.vrt-next { right: 8px; }

@media (max-width: 767px) {
	.vrt-prev { left: 2px; }
	.vrt-next { right: 2px; }
	.vrt-btn { width: 42px; height: 42px; }
}

/* ── Pagination ── */
.vrt-dots {
	bottom: 0 !important;
}

.vrt-dots .swiper-pagination-bullet {
	width: 6px;
	height: 6px;
	background: rgba(255,255,255,0.20);
	opacity: 1;
	border-radius: 3px;
	transition: width 0.35s ease, background 0.35s ease;
}

.vrt-dots .swiper-pagination-bullet-active {
	background: var(--vrt-accent);
	width: 32px;
	border-radius: 3px;
	box-shadow: 0 0 8px rgba(200,169,110,0.5);
}

/* ── Equal height slides ── */
.vrt-swiper .swiper-wrapper {
	align-items: stretch;
}
