/* =========================================
   CSS RESET & BASE STYLES
   These rules reset browser defaults and
   establish the foundational design tokens
   (colors, fonts, spacing) used throughout
   the entire website.
========================================= */

:root {
    /* Color palette — warm, natural, premium */
    --cream: #f7f3ed;
    --cream-light: #fbf8f3;
    --cream-dark: #efe8dc;
    --sage: #a8b9a3;
    --sage-light: #c8d4c4;
    --sage-dark: #8a9d85;
    --forest: #2d4a3e;
    --forest-light: #3d5a4e;
    --forest-dark: #1e3328;
    --sand: #e8dcc8;
    --sand-light: #f0e8d8;
    --sand-dark: #d4c4a8;
    --charcoal: #2a2825;
    --charcoal-light: #4a4844;
    --charcoal-muted: #6b6863;
    --white: #ffffff;
    --error: #b85c4a;
    --error-bg: #f8ede9;
    --success: #5a7a5e;
    --success-bg: #eaf0ea;

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing — 8px base system */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Layout */
    --container-max: 1280px;
    --container-narrow: 800px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;

    /* Shadows — subtle and soft */
    --shadow-sm: 0 1px 3px rgba(42, 40, 37, 0.06);
    --shadow-md: 0 4px 16px rgba(42, 40, 37, 0.08);
    --shadow-lg: 0 12px 40px rgba(42, 40, 37, 0.12);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--cream-light);
    overflow-x: hidden;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--forest);
    color: var(--cream);
    padding: var(--space-sm) var(--space-md);
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 var(--radius-sm) 0;
    transition: top var(--transition-fast);
}
.skip-link:focus {
    top: 0;
}

/* =========================================
   TYPOGRAPHY
   Establishes the typographic hierarchy
   with the serif font for headings and
   sans-serif for body text.
========================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--forest);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    margin-bottom: var(--space-sm);
}

a {
    color: var(--forest);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--forest-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   UTILITY CLASSES
   Small reusable helpers for layout and
   spacing used across all pages.
========================================= */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-tight {
    padding: var(--space-2xl) 0;
}

.text-center {
    text-align: center;
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-bottom: var(--space-sm);
    display: block;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--charcoal-light);
}

/* =========================================
   BUTTONS
   Premium button styles with hover and
   focus states. The primary button uses
   the deep forest green.
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--forest);
    color: var(--cream);
    border-color: var(--forest);
}
.btn-primary:hover {
    background: var(--forest-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--forest);
    border-color: var(--forest);
}
.btn-secondary:hover {
    background: var(--forest);
    color: var(--cream);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--sand-dark);
}
.btn-ghost:hover {
    background: var(--cream-dark);
    border-color: var(--sage);
}

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

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

/* =========================================
   SITE HEADER & NAVIGATION
   The fixed header contains the logo,
   desktop navigation, and booking CTA.
   It transitions from transparent to
   solid on scroll.
========================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
    background: rgba(251, 248, 243, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1.25rem var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest);
    letter-spacing: -0.01em;
}

/* Desktop navigation */
.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-list a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--charcoal);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--forest);
    transition: width var(--transition-base);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a.active {
    color: var(--forest);
    font-weight: 500;
}

/* Header booking button */
.btn-book-header {
    padding: 0.625rem 1.5rem;
    font-size: 0.8125rem;
    white-space: nowrap;
}

/* =========================================
   MOBILE NAVIGATION
   Slide-in menu from the right side.
   Includes animated hamburger toggle
   and a dimming overlay.
========================================= */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition-base);
    margin: 0 auto;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--cream-light);
    z-index: 1001;
    padding: 5rem var(--space-xl) var(--space-xl);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(42, 40, 37, 0.1);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-icon {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transform: rotate(45deg);
}
.close-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transform: rotate(90deg);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-nav-list a {
    font-size: 1.125rem;
    color: var(--charcoal);
    font-weight: 400;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--cream-dark);
    transition: color var(--transition-fast);
}
.mobile-nav-list a:hover,
.mobile-nav-list a.active {
    color: var(--forest);
    font-weight: 500;
}

.mobile-book-btn {
    margin-top: var(--space-sm);
    width: 100%;
    border-bottom: none;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 40, 37, 0.4);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-base);
}
.mobile-overlay.visible {
    opacity: 1;
}

/* =========================================
   HERO SECTION
   The main introduction at the top of
   the homepage. Contains the headline,
   supporting text and CTA buttons over
   a calm background image with overlay.
========================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 51, 40, 0.55) 0%, rgba(30, 51, 40, 0.25) 60%, rgba(30, 51, 40, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 var(--space-xl);
    margin: 0 auto;
    max-width: var(--container-max);
    width: 100%;
}

.hero-inner {
    max-width: 640px;
}

.hero h1 {
    color: var(--cream);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(247, 243, 237, 0.92);
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: var(--cream);
    color: var(--forest);
    border-color: var(--cream);
}
.hero .btn-primary:hover {
    background: var(--white);
    color: var(--forest-dark);
}

.hero .btn-secondary {
    color: var(--cream);
    border-color: rgba(247, 243, 237, 0.5);
}
.hero .btn-secondary:hover {
    background: rgba(247, 243, 237, 0.15);
    color: var(--cream);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(247, 243, 237, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: gentleBounce 2.5s ease-in-out infinite;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(247, 243, 237, 0.4);
}

@keyframes gentleBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* =========================================
   TRUST STRIP
   Four trust indicators displayed in a
   clean horizontal row below the hero.
========================================= */

.trust-strip {
    background: var(--forest);
    padding: var(--space-lg) 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    text-align: center;
}

.trust-item {
    color: var(--cream);
}

.trust-item-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-xs);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-item-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--sage-light);
    fill: none;
    stroke-width: 1.5;
}

.trust-item-label {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.03em;
}

/* =========================================
   INTRODUCTION SECTION
   A welcoming section with editorial
   layout — heading, body text, and CTA.
========================================= */

.intro-section {
    padding: var(--space-4xl) 0;
    background: var(--cream-light);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.intro-text h2 {
    margin-bottom: var(--space-lg);
}

.intro-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--charcoal-light);
    margin-bottom: var(--space-md);
}

.intro-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   PROGRAMS SECTION (HOMEPAGE)
   Four program cards displayed in a grid.
   Each card has an image, title, and
   description with a CTA link.
========================================= */

.programs-section {
    padding: var(--space-4xl) 0;
    background: var(--cream);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--charcoal-muted);
    line-height: 1.7;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.program-card {
    background: var(--cream-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.program-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.program-card:hover .program-card-image img {
    transform: scale(1.05);
}

.program-card-body {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-card h3 {
    margin-bottom: var(--space-xs);
}

.program-card p {
    font-size: 0.9375rem;
    color: var(--charcoal-light);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    flex: 1;
}

.program-card-meta {
    font-size: 0.8125rem;
    color: var(--sage-dark);
    margin-bottom: var(--space-sm);
}

.program-card-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast);
}
.program-card-link:hover {
    gap: 0.75rem;
    color: var(--forest-dark);
}

/* =========================================
   WHY NIVORA SECTION
   Alternating layout with image and text
   for each feature block. Creates visual
   rhythm rather than generic cards.
========================================= */

.why-section {
    padding: var(--space-4xl) 0;
    background: var(--cream-light);
}

.why-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--space-xl);
}

.why-feature:last-child {
    margin-bottom: 0;
}

.why-feature:nth-child(even) .why-feature-image {
    order: 2;
}

.why-feature-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 5/4;
    box-shadow: var(--shadow-md);
}

.why-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-feature-text .feature-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--sage);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.why-feature-text h3 {
    margin-bottom: var(--space-sm);
}

.why-feature-text p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--charcoal-light);
}

/* =========================================
   FEATURED CLASSES SECTION
   A grid of class cards showing the class
   name, level, and duration.
========================================= */

.classes-section {
    padding: var(--space-4xl) 0;
    background: var(--cream);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: var(--container-max);
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-xl);
}

.class-card {
    background: var(--cream-light);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.class-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--sage-light);
}

.class-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
}

.class-card h4 {
    font-size: 1.375rem;
    margin: 0;
}

.class-card-level {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--sage-light);
    color: var(--forest-dark);
    white-space: nowrap;
}

.class-card-duration {
    font-size: 0.875rem;
    color: var(--charcoal-muted);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.classes-section-cta {
    text-align: center;
}

/* =========================================
   INSTRUCTOR PREVIEW SECTION
   Three instructor cards with photos,
   names, roles, and short bios.
========================================= */

.instructors-preview {
    padding: var(--space-4xl) 0;
    background: var(--forest);
}

.instructors-preview .section-header h2 {
    color: var(--cream);
}

.instructors-preview .eyebrow {
    color: var(--sage-light);
}

.instructors-preview .section-header p {
    color: rgba(247, 243, 237, 0.7);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: var(--container-max);
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-xl);
}

.instructor-card {
    text-align: center;
    transition: transform var(--transition-base);
}

.instructor-card:hover {
    transform: translateY(-4px);
}

.instructor-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-md);
    border: 3px solid rgba(168, 185, 163, 0.3);
}

.instructor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-card h4 {
    color: var(--cream);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.instructor-role {
    color: var(--sage-light);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.instructor-bio {
    color: rgba(247, 243, 237, 0.75);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

.instructors-preview-cta {
    text-align: center;
}

.instructors-preview .btn-secondary {
    color: var(--cream);
    border-color: rgba(247, 243, 237, 0.4);
}
.instructors-preview .btn-secondary:hover {
    background: rgba(247, 243, 237, 0.1);
    color: var(--cream);
}

/* =========================================
   TESTIMONIALS SECTION
   A refined carousel showing one
   testimonial at a time with smooth
   transitions and navigation dots.
========================================= */

.testimonials-section {
    padding: var(--space-4xl) 0;
    background: var(--sand-light);
}

.testimonial-carousel {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 var(--space-md);
    text-align: center;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    line-height: 1.5;
    color: var(--forest);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-author {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--charcoal);
}

.testimonial-author::before {
    content: '— ';
    color: var(--sage-dark);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    align-items: center;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--sage-dark);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
}

.testimonial-dot.active {
    background: var(--forest);
    border-color: var(--forest);
}

.testimonial-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--sage-dark);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    transition: all var(--transition-fast);
    margin: 0 var(--space-sm);
}

.testimonial-arrow:hover {
    background: var(--forest);
    color: var(--cream);
    border-color: var(--forest);
}

/* =========================================
   FINAL CTA SECTION
   A full-width conversion section with
   strong typography and a prominent
   booking button.
========================================= */

.final-cta {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.final-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.final-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.final-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 51, 40, 0.7) 0%, rgba(30, 51, 40, 0.5) 100%);
    z-index: 1;
}

.final-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    padding: 0 var(--space-xl);
}

.final-cta-content h2 {
    color: var(--cream);
    margin-bottom: var(--space-md);
}

.final-cta-content p {
    color: rgba(247, 243, 237, 0.85);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.final-cta-content .btn-primary {
    background: var(--cream);
    color: var(--forest);
    border-color: var(--cream);
}
.final-cta-content .btn-primary:hover {
    background: var(--white);
}

/* =========================================
   SITE FOOTER
   The shared footer with brand info,
   navigation columns, social links, and
   copyright notice.
========================================= */

.site-footer {
    background: var(--forest-dark);
    color: rgba(247, 243, 237, 0.8);
    padding: var(--space-3xl) 0 0;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo .logo-text {
    color: var(--cream);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--sage-light);
    margin: var(--space-sm) 0;
    font-style: italic;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(247, 243, 237, 0.6);
    max-width: 320px;
}

.footer-heading {
    color: var(--cream);
    font-size: 1rem;
    font-family: var(--font-sans);
    font-weight: 500;
    margin-bottom: var(--space-md);
    letter-spacing: 0.03em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(247, 243, 237, 0.7);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}
.footer-links a:hover {
    color: var(--cream);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(247, 243, 237, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(247, 243, 237, 0.7);
    transition: all var(--transition-fast);
}
.social-link:hover {
    background: rgba(247, 243, 237, 0.1);
    color: var(--cream);
    border-color: rgba(247, 243, 237, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(247, 243, 237, 0.1);
    padding: var(--space-md) var(--space-xl);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(247, 243, 237, 0.5);
    margin: 0;
}

/* =========================================
   STICKY MOBILE CTA BAR
   Fixed bar at the bottom of the screen
   on mobile that keeps the booking CTA
   always accessible.
========================================= */

.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(251, 248, 243, 0.97);
    backdrop-filter: blur(10px);
    padding: 0.75rem var(--space-md);
    box-shadow: 0 -2px 12px rgba(42, 40, 37, 0.08);
    z-index: 998;
}

.btn-sticky {
    width: 100%;
}

/* =========================================
   SCROLL REVEAL ANIMATIONS
   Elements with the .reveal class fade in
   and slide up when they enter the
   viewport. Respects reduced motion.
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =========================================
   PAGE HERO (INTERIOR PAGES)
   A smaller hero section used at the top
   of interior pages with a heading and
   optional background image.
========================================= */

.page-hero {
    position: relative;
    padding: 10rem 0 var(--space-3xl);
    background: var(--cream);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(251, 248, 243, 0.7) 0%, rgba(251, 248, 243, 0.9) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: var(--space-md);
}

.page-hero p {
    font-size: 1.125rem;
    color: var(--charcoal-light);
    line-height: 1.7;
}

/* Breadcrumb */
.breadcrumbs {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: 0.8125rem;
}

.breadcrumbs a {
    color: var(--charcoal-muted);
}
.breadcrumbs a:hover {
    color: var(--forest);
}

.breadcrumbs li::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--sage);
}
.breadcrumbs li:last-child::after {
    display: none;
}
.breadcrumbs li:last-child {
    color: var(--forest);
    font-weight: 500;
}

/* =========================================
   ABOUT PAGE — PHILOSOPHY SECTION
   Four visually distinct philosophy blocks
   with alternating layouts.
========================================= */

.philosophy-section {
    padding: var(--space-4xl) 0;
    background: var(--cream-light);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.philosophy-block {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    background: var(--cream);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.philosophy-block:nth-child(1) { background: var(--sage-light); }
.philosophy-block:nth-child(2) { background: var(--sand-light); }
.philosophy-block:nth-child(3) { background: var(--sand-light); }
.philosophy-block:nth-child(4) { background: var(--sage-light); }

.philosophy-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.philosophy-icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-md);
}

.philosophy-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--forest);
    fill: none;
    stroke-width: 1.5;
}

.philosophy-block h3 {
    margin-bottom: var(--space-sm);
}

.philosophy-block p {
    color: var(--charcoal-light);
    line-height: 1.7;
}

/* About story section */
.about-story {
    padding: var(--space-4xl) 0;
    background: var(--cream);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.about-story-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}

.about-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-story-text h2 {
    margin-bottom: var(--space-lg);
}

.about-story-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--charcoal-light);
    margin-bottom: var(--space-md);
}

.about-story-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--forest);
    margin: var(--space-lg) 0;
    padding-left: var(--space-md);
    border-left: 3px solid var(--sage);
    line-height: 1.5;
}

/* =========================================
   PROGRAMS PAGE
   Detailed program sections with editorial
   layout — image, description, benefits,
   level, duration, and booking CTA.
========================================= */

.program-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--space-xl);
}

.program-detail:nth-child(even) .program-detail-image {
    order: 2;
}

.program-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-lg);
}

.program-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-detail-content h2 {
    margin-bottom: var(--space-md);
}

.program-detail-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--charcoal-light);
    margin-bottom: var(--space-md);
}

.program-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.program-meta-item {
    padding: var(--space-xs) var(--space-md);
    background: var(--cream-dark);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--charcoal);
}

.program-meta-item strong {
    font-weight: 500;
    color: var(--forest);
}

.program-benefits {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.program-benefits li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: var(--space-xs);
    font-size: 0.9375rem;
    color: var(--charcoal-light);
}

.program-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage);
}

.program-cta-group {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* =========================================
   CLASSES / SCHEDULE PAGE
   Filter controls and responsive schedule
   grid that transforms between desktop
   table and mobile cards.
========================================= */

.schedule-section {
    padding: var(--space-3xl) 0;
    background: var(--cream-light);
}

.schedule-filters {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-2xl);
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--space-xl);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.filter-group label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--charcoal-muted);
}

.filter-select {
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-full);
    background: var(--cream-light);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--charcoal);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%232a2825' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: border-color var(--transition-fast);
}

.filter-select:focus {
    outline: none;
    border-color: var(--forest);
}

/* Schedule table (desktop) */
.schedule-table {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    overflow-x: auto;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th {
    text-align: left;
    padding: var(--space-md);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--forest);
    border-bottom: 2px solid var(--sand-dark);
}

.schedule-table td {
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--cream-dark);
    vertical-align: top;
}

.schedule-class {
    background: var(--cream-light);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
    margin-bottom: var(--space-xs);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: pointer;
}

.schedule-class:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.schedule-class.hidden {
    display: none;
}

.schedule-class-time {
    font-size: 0.8125rem;
    color: var(--charcoal-muted);
    margin-bottom: 0.25rem;
}

.schedule-class-name {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.schedule-class-meta {
    display: flex;
    gap: var(--space-xs);
    align-items: center;
}

.schedule-class-level {
    font-size: 0.6875rem;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
    background: var(--sage-light);
    color: var(--forest-dark);
}

.schedule-class-type {
    font-size: 0.6875rem;
    color: var(--charcoal-muted);
}

.schedule-class-book {
    font-size: 0.75rem;
    color: var(--forest);
    font-weight: 500;
    margin-top: 0.5rem;
    display: inline-block;
}
.schedule-class-book:hover {
    color: var(--forest-dark);
    text-decoration: underline;
}

/* Schedule cards (mobile) */
.schedule-cards {
    display: none;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.schedule-day-group {
    margin-bottom: var(--space-xl);
}

.schedule-day-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--forest);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--sand-dark);
}

.schedule-card {
    background: var(--cream-light);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.schedule-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.schedule-card.hidden {
    display: none;
}

.schedule-card-time {
    font-size: 0.875rem;
    color: var(--forest);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.schedule-card-name {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.schedule-card-meta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}

.schedule-card .schedule-class-level {
    font-size: 0.75rem;
}

.schedule-card-type {
    font-size: 0.75rem;
    color: var(--charcoal-muted);
}

.schedule-card-book {
    font-size: 0.8125rem;
    color: var(--forest);
    font-weight: 500;
}

/* No results message */
.schedule-no-results {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--charcoal-muted);
    display: none;
}

/* Class detail modal */
.class-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.class-modal.open {
    display: flex;
}

.class-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 40, 37, 0.5);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.class-modal.open .class-modal-overlay {
    opacity: 1;
}

.class-modal-content {
    position: relative;
    background: var(--cream-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    opacity: 0;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.class-modal.open .class-modal-content {
    transform: scale(1);
    opacity: 1;
}

.class-modal-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--charcoal-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-fast);
}
.class-modal-close:hover {
    background: var(--cream-dark);
}

.class-modal h3 {
    margin-bottom: var(--space-sm);
}

.class-modal-meta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.class-modal-meta span {
    font-size: 0.8125rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--cream-dark);
}

.class-modal-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--charcoal-light);
    margin-bottom: var(--space-md);
}

.class-modal-schedule {
    font-size: 0.875rem;
    color: var(--charcoal-muted);
    margin-bottom: var(--space-md);
}

/* =========================================
   INSTRUCTORS PAGE
   Premium instructor directory with
   photos, bios, expertise, and classes.
========================================= */

.instructors-page {
    padding: var(--space-3xl) 0;
    background: var(--cream-light);
}

.instructors-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.instructor-full-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.instructor-full-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.instructor-full-photo {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.instructor-full-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.instructor-full-card:hover .instructor-full-photo img {
    transform: scale(1.04);
}

.instructor-full-body {
    padding: var(--space-lg);
}

.instructor-full-body h3 {
    margin-bottom: 0.25rem;
}

.instructor-full-role {
    font-size: 0.875rem;
    color: var(--sage-dark);
    margin-bottom: var(--space-sm);
}

.instructor-full-bio {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--charcoal-light);
    margin-bottom: var(--space-md);
}

.instructor-expertise {
    margin-bottom: var(--space-sm);
}

.instructor-expertise-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--charcoal-muted);
    margin-bottom: 0.375rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.expertise-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    background: var(--sage-light);
    color: var(--forest-dark);
}

.instructor-meta-row {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--cream-dark);
    margin-top: var(--space-sm);
}

.instructor-meta-item {
    font-size: 0.8125rem;
}

.instructor-meta-item strong {
    display: block;
    color: var(--forest);
    font-weight: 500;
    font-size: 0.875rem;
}

.instructor-meta-item span {
    color: var(--charcoal-muted);
}

/* =========================================
   MEMBERSHIP PAGE
   Three pricing plans with the middle
   plan visually prominent. Plan selection
   provides visual feedback.
========================================= */

.membership-section {
    padding: var(--space-3xl) 0;
    background: var(--cream-light);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 1100px;
    margin: 0 auto var(--space-2xl);
    padding: 0 var(--space-xl);
    align-items: center;
}

.membership-plan {
    background: var(--cream-light);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    position: relative;
}

.membership-plan:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.membership-plan.featured {
    background: var(--forest);
    color: var(--cream);
    border-color: var(--forest);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.membership-plan.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.membership-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sage);
    color: var(--forest-dark);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.plan-name {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--forest);
}

.membership-plan.featured .plan-name {
    color: var(--cream);
}

.plan-price {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: var(--space-xs);
}

.membership-plan.featured .plan-price {
    color: var(--cream);
}

.plan-price span {
    font-size: 1rem;
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--charcoal-muted);
}

.membership-plan.featured .plan-price span {
    color: rgba(247, 243, 237, 0.7);
}

.plan-features {
    list-style: none;
    margin: var(--space-md) 0;
}

.plan-features li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--charcoal-light);
    border-bottom: 1px solid var(--cream-dark);
}

.membership-plan.featured .plan-features li {
    color: rgba(247, 243, 237, 0.85);
    border-bottom-color: rgba(247, 243, 237, 0.15);
}

.plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.875rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--sage);
}

.membership-plan.featured .plan-features li::before {
    border-color: var(--sage-light);
}

.plan-btn {
    width: 100%;
    margin-top: var(--space-sm);
}

.membership-plan.featured .plan-btn {
    background: var(--cream);
    color: var(--forest);
    border-color: var(--cream);
}
.membership-plan.featured .plan-btn:hover {
    background: var(--white);
}

.membership-plan.selected {
    border-color: var(--forest);
    border-width: 2.5px;
    box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.1);
}

.membership-plan.featured.selected {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(168, 185, 163, 0.3), var(--shadow-lg);
}

.plan-selected-badge {
    display: none;
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--cream);
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.membership-plan.featured .plan-selected-badge {
    background: var(--sage);
    color: var(--forest-dark);
}

.membership-plan.selected .plan-selected-badge {
    display: flex;
}

.membership-disclaimer {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--charcoal-muted);
    max-width: 600px;
    margin: 0 auto;
}

.membership-action {
    text-align: center;
    margin-top: var(--space-xl);
}

.membership-selected-plan {
    display: none;
    text-align: center;
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background: var(--success-bg);
    border-radius: var(--radius-md);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.membership-selected-plan.show {
    display: block;
}

.membership-selected-plan p {
    margin: 0;
    color: var(--success);
    font-size: 0.9375rem;
}

.membership-selected-plan strong {
    color: var(--forest);
}

/* =========================================
   CONTACT PAGE
   Contact form with validation, contact
   details, and hours information.
========================================= */

.contact-section {
    padding: var(--space-3xl) 0;
    background: var(--cream-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-2xl);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.contact-info h2 {
    margin-bottom: var(--space-md);
}

.contact-info p {
    color: var(--charcoal-light);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    align-items: flex-start;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--forest);
    fill: none;
    stroke-width: 1.5;
}

.contact-detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--charcoal-muted);
    margin-bottom: 0.25rem;
}

.contact-detail-value {
    font-size: 0.9375rem;
    color: var(--charcoal);
    line-height: 1.5;
}

/* Contact form */
.contact-form-wrap {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.375rem;
}

.form-label .required {
    color: var(--error);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    background: var(--cream-light);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--charcoal);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.08);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: none;
    color: var(--error);
    font-size: 0.8125rem;
    margin-top: 0.375rem;
}

.form-error.show {
    display: block;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--error);
    background: var(--error-bg);
}

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-xl);
    background: var(--success-bg);
    border-radius: var(--radius-md);
}

.form-success.show {
    display: block;
}

.form-success h3 {
    color: var(--success);
    margin-bottom: var(--space-sm);
}

.form-success p {
    color: var(--charcoal-light);
    font-size: 0.9375rem;
}

/* =========================================
   BOOKING PAGE
   Booking form with program selection,
   date/time, and personal details.
   Includes a success state.
========================================= */

.booking-section {
    padding: var(--space-3xl) 0;
    background: var(--cream-light);
}

.booking-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.booking-form {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
}

.booking-step-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sage-dark);
    margin-bottom: var(--space-md);
    display: block;
}

.program-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.program-option {
    padding: var(--space-md) var(--space-sm);
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--cream-light);
}

.program-option:hover {
    border-color: var(--sage);
    background: var(--cream-dark);
}

.program-option.selected {
    border-color: var(--forest);
    border-width: 2px;
    background: var(--forest);
    color: var(--cream);
}

.program-option.selected .program-option-name {
    color: var(--cream);
}

.program-option-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto var(--space-xs);
}

.program-option-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--forest);
    fill: none;
    stroke-width: 1.5;
}

.program-option.selected .program-option-icon svg {
    stroke: var(--cream);
}

.program-option-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--forest);
}

.booking-success {
    display: none;
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    background: var(--cream);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.booking-success.show {
    display: block;
}

.booking-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--success-bg);
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-success-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--success);
    fill: none;
    stroke-width: 2;
}

.booking-success h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.75rem;
}

.booking-success p {
    color: var(--charcoal-light);
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

/* =========================================
   FAQ PAGE
   Accessible accordion using vanilla JS.
   Each question expands/collapses on click.
========================================= */

.faq-section {
    padding: var(--space-3xl) 0;
    background: var(--cream-light);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.faq-item {
    border-bottom: 1px solid var(--cream-dark);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--space-md) 0;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--forest);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--forest-dark);
}

.faq-question:focus-visible {
    outline: 2px solid var(--forest);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--sage-dark);
    transition: transform var(--transition-base);
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    transform: translateY(-50%);
}

.faq-icon::after {
    top: 0;
    left: 50%;
    width: 1.5px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding-bottom: var(--space-md);
}

.faq-answer p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--charcoal-light);
}

/* =========================================
   404 PAGE
   A minimal, branded not-found page.
========================================= */

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--cream);
    padding: var(--space-xl);
}

.error-content {
    max-width: 480px;
}

.error-code {
    font-family: var(--font-serif);
    font-size: 6rem;
    font-weight: 600;
    color: var(--sage);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.error-content h1 {
    margin-bottom: var(--space-md);
}

.error-content p {
    font-size: 1.0625rem;
    color: var(--charcoal-light);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

/* =========================================
   BREATHING INTERACTION
   A simple interactive breathing visual
   that guides the user through breathe in,
   hold, and breathe out cycles.
========================================= */

.breathing-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-2xl) 0;
}

.breathing-circle-wrap {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.breathing-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--sage-light) 0%, var(--sage) 100%);
    opacity: 0.7;
    transition: transform 4s ease-in-out, opacity 4s ease-in-out;
}

.breathing-circle.expanded {
    transform: scale(1.6);
    opacity: 0.9;
}

.breathing-circle.contracted {
    transform: scale(0.8);
    opacity: 0.5;
}

.breathing-label {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--forest);
    min-height: 2rem;
}

.breathing-toggle {
    margin-top: var(--space-md);
}

/* =========================================
   REDUCED MOTION
   Disables non-essential animations for
   users who prefer reduced motion.
========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-scroll {
        animation: none;
    }

    .breathing-circle {
        transition: none;
    }
}
