/**
 * Yoga demo — earthy studio theme
 *
 * Forest green, terracotta & warm sand. Weekly class timetable + mat reservation panel.
 * Class styles, instructors, pricing rows, first-timer guide.
 */

:root {
	--demo-font-body: "Quicksand", system-ui, sans-serif;
	--demo-font-display: "Philosopher", Georgia, serif;

	--demo-primary: #2d5a4a;
	--demo-primary-soft: #e8f0ec;
	--demo-primary-dark: #1e3d34;
	--demo-accent: #c4704a;
	--demo-accent-soft: #fdf0ea;
	--demo-clay: #8b5e3c;
	--demo-sand: #f7f2eb;
	--demo-heading: #1e3d34;
	--demo-text: #3d5248;
	--demo-muted: #6b8078;
	--demo-bg: #faf7f2;
	--demo-bg-alt: #f0ebe3;
	--demo-surface: #fffcf7;
	--demo-border: #e5ddd3;
	--demo-radius-lg: 20px;
	--demo-radius-md: 12px;
	--demo-shadow-sm: 0 4px 24px rgba(45, 90, 74, 0.08);
	--demo-shadow-md: 0 20px 50px rgba(45, 90, 74, 0.12);
}

[data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

.demo-yoga .demo-btn-primary {
	background: linear-gradient(135deg, var(--demo-primary) 0%, var(--demo-primary-dark) 100%);
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	padding: 14px 28px;
	box-shadow: var(--demo-shadow-sm);
}

.demo-yoga .demo-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: var(--demo-shadow-md);
}

.demo-yoga .demo-btn-outline {
	border: 2px solid var(--demo-accent);
	color: var(--demo-accent);
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	background: transparent;
}

.demo-yoga .demo-btn-outline:hover {
	background: var(--demo-accent-soft);
}

/* Promo bar */
.yg-promo-bar {
	background: linear-gradient(90deg, var(--demo-primary-dark), var(--demo-primary));
	color: #e8f0ec;
	padding: 10px 16px;
	font-size: 14px;
	text-align: center;
	font-weight: 600;
}

.yg-promo-bar em {
	font-style: normal;
	color: #f5c4a8;
	font-weight: 700;
}

/* Nav */
.yg-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(250, 247, 242, 0.96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--demo-border);
}

.yg-nav.is-scrolled {
	box-shadow: var(--demo-shadow-sm);
}

.yg-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 0;
}

.yg-brand {
	display: flex;
	align-items: center;
	gap: 10px;
}

.yg-brand-mark {
	font-size: 28px;
	line-height: 1;
}

.yg-brand strong {
	display: block;
	font-family: var(--demo-font-display);
	font-size: 22px;
	font-weight: 700;
	color: var(--demo-heading);
	line-height: 1.1;
}

.yg-brand span {
	font-size: 11px;
	color: var(--demo-muted);
	font-weight: 600;
	letter-spacing: 0.04em;
}

.yg-nav-links {
	display: flex;
	gap: 28px;
}

.yg-nav-links a {
	font-size: 14px;
	font-weight: 600;
	color: var(--demo-text);
	transition: color 0.2s;
}

.yg-nav-links a:hover {
	color: var(--demo-accent);
}

/* Hero */
.yg-hero {
	padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 8vw, 96px);
	background:
		radial-gradient(ellipse at 90% 20%, rgba(196, 112, 74, 0.08) 0%, transparent 50%),
		radial-gradient(ellipse at 10% 80%, rgba(45, 90, 74, 0.06) 0%, transparent 50%),
		var(--demo-bg);
}

.yg-hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.yg-hero-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--demo-accent);
	margin-bottom: 16px;
}

.yg-hero-title {
	font-family: var(--demo-font-display);
	font-size: clamp(36px, 5vw, 52px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--demo-heading);
	margin-bottom: 20px;
}

.yg-hero-title em {
	font-style: italic;
	color: var(--demo-accent);
}

.yg-hero-lead {
	font-size: 17px;
	line-height: 1.7;
	color: var(--demo-text);
	margin-bottom: 24px;
	max-width: 480px;
}

.yg-hero-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}

.yg-hero-pill {
	font-size: 12px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--demo-primary-soft);
	color: var(--demo-primary-dark);
}

.yg-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.yg-hero-visual {
	position: relative;
}

.yg-hero-visual img {
	border-radius: var(--demo-radius-lg);
	box-shadow: var(--demo-shadow-md);
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

.yg-hero-badge {
	position: absolute;
	bottom: 24px;
	left: -16px;
	background: var(--demo-surface);
	border: 1px solid var(--demo-border);
	border-radius: var(--demo-radius-md);
	padding: 16px 20px;
	box-shadow: var(--demo-shadow-sm);
	text-align: center;
}

.yg-hero-badge strong {
	display: block;
	font-family: var(--demo-font-display);
	font-size: 28px;
	color: var(--demo-primary);
	line-height: 1;
}

.yg-hero-badge span {
	font-size: 12px;
	font-weight: 600;
	color: var(--demo-muted);
}

/* Classes */
.yg-classes {
	padding: clamp(56px, 8vw, 96px) 0;
	background: var(--demo-surface);
}

.yg-classes-header {
	text-align: center;
	max-width: 600px;
	margin: 0 auto 48px;
}

.yg-classes-header h2 {
	font-family: var(--demo-font-display);
	font-size: clamp(28px, 4vw, 38px);
	color: var(--demo-heading);
	margin-bottom: 12px;
}

.yg-classes-header p {
	color: var(--demo-muted);
	font-size: 16px;
	line-height: 1.65;
}

.yg-class-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.yg-class-card {
	background: var(--demo-bg);
	border: 1px solid var(--demo-border);
	border-radius: var(--demo-radius-lg);
	padding: 28px 24px;
	transition: transform 0.25s, box-shadow 0.25s;
}

.yg-class-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--demo-shadow-sm);
}

.yg-class-card.featured {
	background: linear-gradient(145deg, var(--demo-primary-dark), var(--demo-primary));
	border-color: transparent;
	color: #e8f0ec;
}

.yg-class-card.featured .yg-class-meta {
	color: rgba(232, 240, 236, 0.75);
}

.yg-class-icon {
	font-size: 28px;
	margin-bottom: 12px;
}

.yg-class-card h3 {
	font-family: var(--demo-font-display);
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
	color: inherit;
}

.yg-class-card p {
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 16px;
	opacity: 0.9;
}

.yg-class-meta {
	font-size: 12px;
	font-weight: 700;
	color: var(--demo-muted);
	letter-spacing: 0.02em;
}

/* Booking section */
.yg-booking-section {
	padding: clamp(56px, 8vw, 96px) 0;
	background:
		linear-gradient(180deg, var(--demo-bg-alt) 0%, var(--demo-bg) 100%);
}

.yg-booking-header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 48px;
}

.yg-booking-header h2 {
	font-family: var(--demo-font-display);
	font-size: clamp(28px, 4vw, 38px);
	color: var(--demo-heading);
	margin-bottom: 12px;
}

.yg-booking-header p {
	color: var(--demo-muted);
	font-size: 16px;
}

.yg-booking-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: start;
}

/* Timetable */
.yg-timetable {
	background: var(--demo-surface);
	border: 1px solid var(--demo-border);
	border-radius: var(--demo-radius-lg);
	padding: 28px;
	box-shadow: var(--demo-shadow-sm);	
	overflow-y: auto;
}

.yg-timetable-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--demo-border);
	flex-wrap: wrap;
}

.yg-timetable-toolbar h3 {
	font-family: var(--demo-font-display);
	font-size: 20px;
	color: var(--demo-heading);
}

.yg-timetable-legend {
	display: flex;
	gap: 16px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.yg-timetable-legend .open::before,
.yg-timetable-legend .waitlist::before,
.yg-timetable-legend .full::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 6px;
	vertical-align: middle;
}

.yg-timetable-legend .open::before {
	background: var(--demo-primary);
}

.yg-timetable-legend .waitlist::before {
	background: var(--demo-accent);
}

.yg-timetable-legend .full::before {
	background: #b0b8b4;
}

.yg-day-block {
	margin-bottom: 24px;
}

.yg-day-block:last-of-type {
	margin-bottom: 0;
}

.yg-day-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--demo-accent);
	margin-bottom: 10px;
	padding-left: 4px;
}

.yg-class-row {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 14px 16px;
	border-radius: var(--demo-radius-md);
	margin-bottom: 8px;
	border: 1px solid var(--demo-border);
	background: var(--demo-bg);
	transition: border-color 0.2s;
}

.yg-class-row.open {
	border-left: 3px solid var(--demo-primary);
}

.yg-class-row.waitlist {
	border-left: 3px solid var(--demo-accent);
	background: var(--demo-accent-soft);
}

.yg-class-row.full {
	border-left: 3px solid #c5ccc8;
	opacity: 0.65;
}

.yg-class-time {
	font-size: 13px;
	font-weight: 700;
	color: var(--demo-heading);
	font-variant-numeric: tabular-nums;
}

.yg-class-info strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--demo-heading);
	margin-bottom: 2px;
}

.yg-class-info span {
	font-size: 12px;
	color: var(--demo-muted);
	font-weight: 600;
}

.yg-class-spots {
	font-size: 12px;
	font-weight: 700;
	color: var(--demo-primary);
	text-align: right;
	white-space: nowrap;
}

.yg-class-spots span {
	font-size: 16px;
	font-weight: 700;
}

.yg-class-spots.waitlist {
	color: var(--demo-accent);
}

.yg-class-spots.full {
	color: var(--demo-muted);
}

.yg-timetable-note {
	margin-top: 20px;
	font-size: 13px;
	color: var(--demo-muted);
	font-style: italic;
	text-align: center;
}

/* Mat reservation panel */
.yg-mat-panel {
	background: var(--demo-surface);
	border: 2px solid var(--demo-primary);
	border-radius: var(--demo-radius-lg);
	overflow: hidden;
	box-shadow: var(--demo-shadow-md);
	position: sticky;
	top: 88px;
}

.yg-mat-panel-header {
	background: linear-gradient(135deg, var(--demo-primary-dark), var(--demo-primary));
	color: #e8f0ec;
	padding: 28px 28px 20px;
}

.yg-mat-panel-header h2 {
	font-family: var(--demo-font-display);
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 8px;
}

.yg-mat-panel-header p {
	font-size: 14px;
	opacity: 0.9;
	line-height: 1.55;
}

.yg-mat-offer {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px 28px;
	background: var(--demo-accent-soft);
	border-bottom: 1px solid var(--demo-border);
}

.yg-mat-offer strong {
	font-size: 15px;
	font-weight: 700;
	color: var(--demo-accent);
}

.yg-mat-offer span {
	font-size: 13px;
	color: var(--demo-muted);
	font-weight: 600;
}

.yg-mat-includes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 16px 28px;
	border-bottom: 1px solid var(--demo-border);
}

.yg-mat-include {
	font-size: 11px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--demo-primary-soft);
	color: var(--demo-primary-dark);
}

.yg-mat-panel-body {
	padding: 24px 28px 28px;
}

/* Instructors */
.yg-instructors {
	padding: clamp(56px, 8vw, 96px) 0;
	background: var(--demo-surface);
}

.yg-instructors-header {
	text-align: center;
	margin-bottom: 48px;
}

.yg-instructors-header h2 {
	font-family: var(--demo-font-display);
	font-size: clamp(28px, 4vw, 36px);
	color: var(--demo-heading);
}

.yg-instructor-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.yg-instructor {
	text-align: center;
}

.yg-instructor img {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 16px;
	border: 3px solid var(--demo-primary-soft);
}

.yg-instructor h3 {
	font-family: var(--demo-font-display);
	font-size: 20px;
	color: var(--demo-heading);
	margin-bottom: 4px;
}

.yg-instructor > span {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--demo-accent);
	margin-bottom: 12px;
	letter-spacing: 0.02em;
}

.yg-instructor p {
	font-size: 14px;
	color: var(--demo-muted);
	line-height: 1.6;
}

/* Pricing */
.yg-pricing {
	padding: clamp(56px, 8vw, 96px) 0;
	background: var(--demo-bg);
}

.yg-pricing-header {
	text-align: center;
	margin-bottom: 48px;
}

.yg-pricing-header h2 {
	font-family: var(--demo-font-display);
	font-size: clamp(28px, 4vw, 36px);
	color: var(--demo-heading);
}

.yg-pricing-list {
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.yg-pricing-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 28px;
	background: var(--demo-surface);
	border: 1px solid var(--demo-border);
	border-radius: var(--demo-radius-md);
	transition: box-shadow 0.2s;
}

.yg-pricing-row:hover {
	box-shadow: var(--demo-shadow-sm);
}

.yg-pricing-row.featured {
	border-color: var(--demo-primary);
	background: linear-gradient(135deg, var(--demo-primary-soft), var(--demo-surface));
}

.yg-pricing-row h3 {
	font-family: var(--demo-font-display);
	font-size: 20px;
	color: var(--demo-heading);
	margin-bottom: 6px;
}

.yg-pricing-row p {
	font-size: 14px;
	color: var(--demo-muted);
	line-height: 1.5;
}

.yg-pricing-badge {
	display: inline-block;
	margin-top: 8px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--demo-primary);
	color: #fff;
}

.yg-pricing-price {
	text-align: right;
	flex-shrink: 0;
	font-family: var(--demo-font-display);
	font-size: 28px;
	font-weight: 700;
	color: var(--demo-primary);
	line-height: 1.1;
}

.yg-pricing-price span {
	display: block;
	font-family: var(--demo-font-body);
	font-size: 12px;
	font-weight: 600;
	color: var(--demo-muted);
	margin-top: 4px;
}

/* Studio */
.yg-studio {
	padding: clamp(56px, 8vw, 96px) 0;
	background: var(--demo-surface);
}

.yg-studio-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.yg-studio-copy h2 {
	font-family: var(--demo-font-display);
	font-size: clamp(26px, 3.5vw, 34px);
	color: var(--demo-heading);
	margin-bottom: 16px;
}

.yg-studio-copy > p {
	color: var(--demo-text);
	line-height: 1.7;
	margin-bottom: 24px;
}

.yg-studio-amenities {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.yg-studio-amenities li {
	font-size: 14px;
	font-weight: 600;
	color: var(--demo-text);
	padding-left: 24px;
	position: relative;
}

.yg-studio-amenities li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--demo-primary);
	font-weight: 700;
}

.yg-studio-photo img {
	border-radius: var(--demo-radius-lg);
	box-shadow: var(--demo-shadow-md);
	width: 100%;
	object-fit: cover;
}

/* First-timer */
.yg-first-timer {
	padding: clamp(56px, 8vw, 96px) 0;
	background: var(--demo-bg-alt);
}

.yg-first-header {
	text-align: center;
	margin-bottom: 48px;
}

.yg-first-header h2 {
	font-family: var(--demo-font-display);
	font-size: clamp(26px, 3.5vw, 34px);
	color: var(--demo-heading);
}

.yg-first-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.yg-first-step {
	text-align: center;
	padding: 28px 20px;
	background: var(--demo-surface);
	border-radius: var(--demo-radius-lg);
	border: 1px solid var(--demo-border);
}

.yg-first-num {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--demo-primary);
	color: #fff;
	font-family: var(--demo-font-display);
	font-size: 18px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}

.yg-first-step h3 {
	font-family: var(--demo-font-display);
	font-size: 17px;
	color: var(--demo-heading);
	margin-bottom: 8px;
}

.yg-first-step p {
	font-size: 13px;
	color: var(--demo-muted);
	line-height: 1.55;
}

/* Quote */
.yg-quote {
	padding: clamp(48px, 7vw, 80px) 0;
	background: linear-gradient(135deg, var(--demo-primary-dark), var(--demo-primary));
	color: #e8f0ec;
	text-align: center;
}

.yg-quote blockquote {
	font-family: var(--demo-font-display);
	font-size: clamp(20px, 3vw, 26px);
	font-style: italic;
	line-height: 1.55;
	max-width: 720px;
	margin: 0 auto 20px;
	color: #e8f0ec !important;	
	border-left: 5px solid #e8f0ec;
}
.yg-quote cite {
	font-size: 14px;
	font-weight: 600;
	opacity: 0.8;
	font-style: normal;
}
.yg-mat-panel-header h2{
	color: #fff;
}
/* Footer */
.yg-footer {
	padding: 48px 0 32px;
	background: var(--demo-heading);
	color: rgba(232, 240, 236, 0.85);
}

.yg-footer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-bottom: 32px;
}

.yg-footer-brand {
	font-family: var(--demo-font-display);
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 6px;
}

.yg-footer-tagline {
	font-size: 14px;
	opacity: 0.75;
}

.yg-footer-contact p {
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 4px;
}

.yg-footer-contact a {
	color: #f5c4a8;
	font-weight: 600;
}

.yg-footer-contact a:hover {
	text-decoration: underline;
}

.yg-footer-meta {
	font-size: 12px;
	opacity: 0.5;
	text-align: center;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile CTA */
.yg-mobile-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 200;
	padding: 12px 16px;
	background: rgba(250, 247, 242, 0.96);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--demo-border);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.yg-mobile-cta .demo-btn {
	width: 100%;
	text-align: center;
}

.yg-mobile-cta[hidden] {
	display: none;
}

/* Responsive */
@media (max-width: 1024px) {
	.yg-class-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.yg-booking-grid {
		grid-template-columns: 1fr;
	}

	.yg-mat-panel {
		position: static;
	}

	.yg-instructor-row {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin: 0 auto;
	}

	.yg-first-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.yg-nav-links {
		display: none;
	}

	.yg-hero-grid,
	.yg-studio-grid,
	.yg-footer-grid {
		grid-template-columns: 1fr;
	}

	.yg-hero-badge {
		left: 16px;
		bottom: 16px;
	}

	.yg-class-grid {
		grid-template-columns: 1fr;
	}

	.yg-class-row {
		grid-template-columns: 64px 1fr;
	}

	.yg-class-spots {
		grid-column: 2;
		text-align: left;
		margin-top: -4px;
	}

	.yg-pricing-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.yg-pricing-price {
		text-align: left;
	}

	.yg-first-steps {
		grid-template-columns: 1fr;
	}
}
