/* ============================================================
   ROOT & RESET
   ============================================================ */
:root {
    --cream: #E8E2D4;
    --cream-light: #F2EDE3;
    --cream-dark: #D9D1C0;
    --wine: #633938;
    --wine-light: #7A4D4C;
    --wine-dark: #4A2A29;
    --text-dark: #2A1B1A;
    --text-muted: #8A7B7A;
    --white: #FEFCF9;
    --transition-smooth: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

body.menu-open {
    overflow: hidden;
}

html.modal-open {
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--wine-light);
    border-radius: 3px;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.6s var(--transition-smooth);
}

nav.scrolled {
    background: rgba(254, 252, 249, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 3rem;
    box-shadow: 0 1px 0 rgba(99, 57, 56, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    position: relative;
    z-index: 1010;
}

.nav-logo-text {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    transition: color 0.4s ease;
    visibility: hidden;
}


nav.scrolled .nav-logo-text {
    color: var(--wine-dark);
    visibility: visible;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.4s ease;
}

nav.scrolled .nav-links a {
    color: var(--wine-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.4s var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    padding-left: 2px;
    padding-right: 2px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white) !important;
    cursor: pointer;
    justify-content: center;
}

nav.scrolled .nav-cta {
    border-color: var(--wine);
    color: var(--wine) !important;
}

/* Nav socials */
.nav-socials {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

nav.scrolled .nav-socials {
    border-right-color: rgba(99, 57, 56, 0.12);
}

.nav-socials a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 50%;
}

nav.scrolled .nav-socials a {
    color: var(--wine-light);
    opacity: 0.5;
}

.nav-socials a:hover {
    color: var(--white);
    transform: translateY(-1px);
}

nav.scrolled .nav-socials a:hover {
    color: var(--wine);
    opacity: 1;
}

.nav-socials a svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 1010;
    padding: 0;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--white);
    position: absolute;
    left: 0;
    transition: all 0.4s var(--transition-smooth);
}

nav.scrolled .nav-hamburger span {
    background: var(--wine);
}

.nav-hamburger span:nth-child(1) {
    top: 0;
}

.nav-hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.nav-hamburger span:nth-child(3) {
    bottom: 0;
}

.nav-hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background: var(--cream);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.nav-hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    background: var(--cream);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(42, 27, 26, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
}

.nav-overlay.active {
    opacity: 1;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to bottom, rgba(23, 16, 15, 0.30), rgba(23, 16, 15, 0.78)),
        radial-gradient(circle at 14% 20%, rgba(232, 226, 212, 0.24), transparent 38%),
        radial-gradient(circle at 85% 10%, rgba(232, 226, 212, 0.18), transparent 28%),
        url('../assets/bg6.jpeg');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 20s var(--transition-smooth) forwards;
}

@keyframes heroZoom {
    to {
        transform: scale(1);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 3rem 5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(232, 226, 212, 0.65);
    margin-bottom: 1.5rem;
    animation: fadeUp 1.2s 0.4s var(--transition-smooth) both;
}

.hero-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: clamp(2.4rem, 7vw, 6.5rem);
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: 1.5rem;
    max-width: 900px;
    animation: fadeUp 1.2s 0.6s var(--transition-smooth) both;
}

.hero-title em {
    font-style: italic;
    color: var(--cream-dark);
}

.hero-title-small {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.5vw, 6.5rem);
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: 1.5rem;
    max-width: 900px;
    animation: fadeUp 1.2s 0.6s var(--transition-smooth) both;
}

.hero-subtitle {
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(232, 226, 212, 0.7);
    max-width: 520px;
    margin-bottom: 2.5rem;
    animation: fadeUp 1.2s 0.8s var(--transition-smooth) both;
}

.hero-cta-group {
    display: flex;
    gap: 1.2rem;
    animation: fadeUp 1.2s 1s var(--transition-smooth) both;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    z-index: 2;
    animation: fadeUp 1.2s 1.5s var(--transition-smooth) both;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(232, 226, 212, 0.5);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(232, 226, 212, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    background: var(--wine);
    color: var(--cream);
    border: 1px solid var(--wine);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.5s var(--transition-smooth);
}

.btn-primary:hover {
    background: var(--wine-dark);
    border-color: var(--wine-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 57, 56, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(232, 226, 212, 0.4);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.5s var(--transition-smooth);
}

.btn-secondary:hover {
    border-color: var(--cream);
    background: rgba(232, 226, 212, 0.1);
}


a.healcode-contract-text-link,
.healcode-pricing-option-text-link,
.healcode-contract-text-link {
    text-decoration: none !important;
}

a.healcode-pricing-option-text-link,
.healcode-pricing-option-text-link {
    display: block;
    width: 100%;
    text-decoration: none !important;
}

healcode-widget {
    display: block !important;
    width: 100% !important;
}

.healcode-pricing-option-text-link {
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-padding {
    padding: 8rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--wine-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--wine-light);
}

.section-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.2;
    color: var(--wine-dark);
    margin-bottom: 1.2rem;
}

.section-title em {
    font-style: italic;
    color: var(--wine-light);
}

.section-desc {
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 600px;
}

.section-divider {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-divider .line {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--cream-dark), transparent);
}


/* ============================================================
   DISCIPLINES
   ============================================================ */
.classes-section {
    background: var(--white);
}

.classes-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: end;
}

.class-item {
    border-top: 1px solid rgba(99, 57, 56, 0.1);
    overflow: hidden;
}

.class-item:last-child {
    border-bottom: 1px solid rgba(99, 57, 56, 0.1);
}

.class-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    cursor: pointer;
    transition: all 0.4s ease;
    user-select: none;
}

.class-header:hover {
    padding-left: 0.5rem;
}

.class-number {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.85rem;
    color: var(--wine-light);
    opacity: 0.5;
    min-width: 2rem;
}

.class-name {
    font-family: 'Marcellus', serif;
    font-size: 1.6rem;
    color: var(--wine-dark);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.class-header:hover .class-name {
    color: var(--wine);
}

.class-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(99, 57, 56, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s var(--transition-smooth);
    flex-shrink: 0;
}

.class-toggle svg {
    width: 14px;
    height: 14px;
    stroke: var(--wine);
    transition: transform 0.5s var(--transition-smooth);
}

.class-item.active .class-toggle {
    background: var(--wine);
    border-color: var(--wine);
}

.class-item.active .class-toggle svg {
    stroke: var(--cream);
    transform: rotate(45deg);
}

.class-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s var(--transition-smooth);
}

.class-body-inner {
    padding: 0.5rem 0 3rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s 0.1s var(--transition-smooth);
}

.class-item.active .class-body-inner {
    opacity: 1;
    transform: translateY(0);
}

.discipline-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: stretch;
}

.discipline-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 320px;
}

.discipline-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.8) contrast(1.05);
    transition: filter 0.6s ease, transform 0.8s var(--transition-smooth);
}

.discipline-img-wrap:hover .discipline-img {
    filter: saturate(1) contrast(1);
    transform: scale(1.03);
}

.discipline-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(42, 27, 26, 0.35), transparent);
    pointer-events: none;
    border-radius: 0 0 12px 12px;
}

.discipline-classes {
    display: flex;
    flex-direction: column;
}

.disc-class {
    padding: 1.8rem 0;
    border-bottom: 1px solid rgba(99, 57, 56, 0.06);
}

.disc-class:first-child {
    padding-top: 0.2rem;
}

.disc-class:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.disc-class-name {
    font-family: 'Marcellus', serif;
    font-size: 1.15rem;
    color: var(--wine-dark);
    letter-spacing: 0.02em;
    margin-bottom: 0.4rem;
}

.disc-class-tags {
    font-weight: 400;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wine-light);
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

.disc-class-desc {
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.disc-class-desc-margined {
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 200px;
}


/* ============================================================
   MEMBERSHIPS
   ============================================================ */
.memberships-section {
    background: var(--cream);
}

.memberships-header {
    text-align: center;
    margin-bottom: 5rem;
}

.memberships-header .section-label {
    justify-content: center;
}

.memberships-header .section-label::before {
    display: none;
}

.memberships-header .section-desc {
    margin: 0 auto;
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.membership-card {
    background: var(--white);
    padding: 2.8rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s var(--transition-smooth);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--wine);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--transition-smooth);
}

.membership-card:hover::before {
    transform: scaleX(1);
}

.membership-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(99, 57, 56, 0.1);
    border-color: rgba(99, 57, 56, 0.08);
}

.membership-card.featured {
    background: var(--wine);
    color: var(--cream);
}

.membership-card.featured::before {
    background: var(--cream-dark);
}

.membership-badge {
    font-weight: 500;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    background: rgba(232, 226, 212, 0.2);
    color: var(--cream);
    display: inline-block;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.membership-tier {
    font-family: 'Marcellus', serif;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--wine-dark);
}

.membership-card.featured .membership-tier {
    color: var(--cream);
}

.membership-tagline {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.membership-card.featured .membership-tagline {
    color: rgba(232, 226, 212, 0.6);
}

.membership-price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
}

.membership-currency {
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--wine);
}

.membership-card.featured .membership-currency {
    color: var(--cream-dark);
}

.membership-amount {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--wine-dark);
    line-height: 1;
}

.membership-card.featured .membership-amount {
    color: var(--cream);
}

.membership-period {
    font-weight: 300;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.membership-card.featured .membership-period {
    color: rgba(232, 226, 212, 0.5);
}

.membership-divider {
    height: 1px;
    background: rgba(99, 57, 56, 0.08);
    margin-bottom: 2rem;
}

.membership-card.featured .membership-divider {
    background: rgba(232, 226, 212, 0.15);
}

.membership-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.membership-features li {
    font-weight: 300;
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    line-height: 1.5;
}

.membership-card.featured .membership-features li {
    color: rgba(232, 226, 212, 0.7);
}

.membership-features li::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--wine-light);
    margin-top: 0.45rem;
}

.membership-card.featured .membership-features li::before {
    background: var(--cream-dark);
}

.membership-btn {
    display: block;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 1rem;
    border: 1px solid rgba(99, 57, 56, 0.2);
    color: var(--wine);
    text-decoration: none;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
    background: transparent;
    width: 100%;
    margin-top: auto;
}

.membership-btn:hover {
    background: var(--wine);
    color: var(--cream);
    border-color: var(--wine);
}

.membership-card.featured .membership-btn {
    border-color: rgba(232, 226, 212, 0.3);
    color: var(--cream);
}

.membership-card.featured .membership-btn:hover {
    background: var(--cream);
    color: var(--wine);
    border-color: var(--cream);
}


/* ============================================================
   CLASS PACKAGES
   ============================================================ */
.packages-section {
    background: var(--white);
}

.packages-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4.5rem;
    align-items: end;
}

.category-item {
    border-top: 1px solid rgba(99, 57, 56, 0.1);
    overflow: hidden;
}

.category-item:last-child {
    border-bottom: 1px solid rgba(99, 57, 56, 0.1);
}

.category-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    cursor: pointer;
    user-select: none;
    transition: padding 0.4s ease;
}

.category-trigger:hover {
    padding-left: 0.5rem;
}

.category-trigger-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.category-number {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.85rem;
    color: var(--wine-light);
    opacity: 0.5;
    min-width: 2rem;
}

.row {
    display: flex;
    width: 100%;
}

.expanded {
    flex: 1;
}

.expanded-big {
    flex: 2;
}

.category-name {
    font-family: 'Marcellus', serif;
    font-size: 1.6rem;
    color: var(--wine-dark);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.category-trigger:hover .category-name {
    color: var(--wine);
}

.category-count {
    font-weight: 300;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-right: 0rem;
}

.category-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(99, 57, 56, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s var(--transition-smooth);
    flex-shrink: 0;
}

.category-toggle svg {
    width: 14px;
    height: 14px;
    stroke: var(--wine);
    transition: transform 0.5s var(--transition-smooth);
}

.category-item.active .category-toggle {
    background: var(--wine);
    border-color: var(--wine);
}

.category-item.active .category-toggle svg {
    stroke: var(--cream);
    transform: rotate(45deg);
}

.category-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s var(--transition-smooth);
}

.category-body-inner {
    padding: 0.5rem 0 3rem;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.5s 0.1s var(--transition-smooth);
}

.category-item.active .category-body-inner {
    opacity: 1;
    transform: translateY(0);
}

.package-grid {
    display: grid;
    gap: 1.5rem;
}

.package-grid.cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.package-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.pkg-card {
    background: var(--cream-light);
    padding: 2.2rem 1.8rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s var(--transition-smooth);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pkg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--wine);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--transition-smooth);
}

.pkg-card:hover::before {
    transform: scaleX(1);
}

.pkg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 50px rgba(99, 57, 56, 0.08);
    border-color: rgba(99, 57, 56, 0.06);
}

.pkg-card.pkg-featured {
    background: var(--wine);
}

.pkg-card.pkg-featured::before {
    background: var(--cream-dark);
}

.pkg-card.pkg-featured:hover {
    background: var(--wine-dark);
    box-shadow: 0 16px 50px rgba(99, 57, 56, 0.2);
}

.pkg-badge {
    font-weight: 500;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    background: rgba(232, 226, 212, 0.18);
    color: var(--cream);
    margin-bottom: 1.2rem;
}

.pkg-tag {
    font-weight: 400;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.pkg-featured .pkg-tag {
    color: rgba(232, 226, 212, 0.45);
}

.pkg-name {
    font-family: 'Marcellus', serif;
    font-size: 1.1rem;
    color: var(--wine-dark);
    letter-spacing: 0.02em;
    margin-bottom: 1.6rem;
    line-height: 1.3;
}

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

.pkg-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    margin-bottom: 0.3rem;
}

.pkg-currency {
    font-weight: 300;
    font-size: 1rem;
    color: var(--wine);
}

.pkg-featured .pkg-currency {
    color: var(--cream-dark);
}

.pkg-amount {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--wine-dark);
    line-height: 1;
}

.pkg-featured .pkg-amount {
    color: var(--cream);
}

.pkg-period {
    font-weight: 300;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pkg-featured .pkg-period {
    color: rgba(232, 226, 212, 0.45);
}

.pkg-divider {
    height: 1px;
    width: 100%;
    background: rgba(99, 57, 56, 0.06);
    margin-bottom: 1.8rem;
}

.pkg-featured .pkg-divider {
    background: rgba(232, 226, 212, 0.12);
}

.pkg-detail {
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pkg-featured .pkg-detail {
    color: rgba(232, 226, 212, 0.6);
}

.pkg-btn {
    display: block;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.85rem 1.4rem;
    border: 1px solid rgba(99, 57, 56, 0.18);
    color: var(--wine);
    text-decoration: none;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
    background: transparent;
    width: 100%;
    margin-top: auto;
}

.pkg-btn:hover {
    background: var(--wine);
    color: var(--cream);
    border-color: var(--wine);
}

.pkg-featured .pkg-btn {
    border-color: rgba(232, 226, 212, 0.25);
    color: var(--cream);
}

.pkg-featured .pkg-btn:hover {
    background: var(--cream);
    color: var(--wine);
    border-color: var(--cream);
}


/* ============================================================
   LOCATION
   ============================================================ */
.location-section {
    background: var(--cream);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-address {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--wine-dark);
    margin-bottom: 2.5rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.location-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.location-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.location-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--wine-light);
    fill: none;
    stroke-width: 1.5;
}

.location-detail-text {
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.location-detail-text strong {
    display: block;
    font-weight: 500;
    color: var(--wine-dark);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.map-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 20px 60px rgba(99, 57, 56, 0.08);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: saturate(0.6) contrast(1.05) brightness(1.05);
    transition: filter 0.5s ease;
}

.map-wrapper:hover iframe {
    filter: saturate(0.8) contrast(1) brightness(1);
}

.map-overlay {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--white);
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.map-overlay-name {
    font-family: 'Marcellus', serif;
    font-size: 1rem;
    color: var(--wine-dark);
    margin-bottom: 0.25rem;
}

.map-overlay-addr {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}


/* ============================================================
   BOOKING MODAL
   ============================================================ */
.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--transition-smooth), visibility 0.4s;
}

.booking-modal.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 27, 26, 0.6);
    backdrop-filter: blur(2px);
}

.booking-modal-container {
    position: relative;
    width: 90vw;
    max-width: 720px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 100px rgba(42, 27, 26, 0.3);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.5s var(--transition-smooth);
}

.booking-modal.active .booking-modal-container {
    transform: translateY(0) scale(1);
}

.booking-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(99, 57, 56, 0.08);
    flex-shrink: 0;
}

.booking-modal-title {
    font-family: 'Marcellus', serif;
    font-size: 1.2rem;
    color: var(--wine-dark);
    letter-spacing: 0.02em;
}

.booking-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(99, 57, 56, 0.12);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--transition-smooth);
    flex-shrink: 0;
}

.booking-modal-close:hover {
    background: var(--wine);
    border-color: var(--wine);
}

.booking-modal-close svg {
    width: 14px;
    height: 14px;
    stroke: var(--wine);
    transition: stroke 0.3s ease;
}

.booking-modal-close:hover svg {
    stroke: var(--cream);
}

.booking-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem 2rem;
    min-height: 400px;
}

/* Mindbody widget overrides to feel more at home */
.booking-modal-body .mindbody-widget {
    width: 100%;
}

.booking-modal-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 4rem 0;
    color: var(--text-muted);
}

.booking-modal-spinner .spinner-ring {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(99, 57, 56, 0.1);
    border-top-color: var(--wine);
    border-radius: 50%;
    animation: modalSpin 0.8s linear infinite;
}

@keyframes modalSpin {
    to {
        transform: rotate(360deg);
    }
}

.booking-modal-spinner span {
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}


/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--wine-dark);
    color: var(--cream);
    padding: 5rem 3rem 2.5rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.2rem;
}

.footer-brand-desc {
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(232, 226, 212, 0.55);
    max-width: 300px;
}

.footer-col-title {
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(232, 226, 212, 0.4);
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    font-weight: 300;
    font-size: 0.9rem;
    color: rgba(232, 226, 212, 0.65);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-bottom {
    border-top: 1px solid rgba(232, 226, 212, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-weight: 300;
    font-size: 0.8rem;
    color: rgba(232, 226, 212, 0.35);
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(232, 226, 212, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: rgba(232, 226, 212, 0.5);
}

.footer-socials a:hover {
    border-color: rgba(232, 226, 212, 0.4);
    color: var(--cream);
    background: rgba(232, 226, 212, 0.08);
}

.footer-socials a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}


/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s var(--transition-smooth);
}

.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;
}


/* ============================================================
   RESPONSIVE — ≤1024px
   ============================================================ */
@media (max-width: 1024px) {

    .disc-class-desc-margined {
        margin-bottom: 0px;
    }


    .section-padding {
        padding: 6rem 2.5rem;
    }

    .membership-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .location-grid {
        gap: 3rem;
    }

    .map-wrapper {
        height: 420px;
    }

    .package-grid.cols-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .pkg-card {
        padding: 1.8rem 1.4rem;
    }

    .pkg-amount {
        font-size: 2rem;
    }

    .discipline-layout {
        gap: 2.5rem;
    }
}

/* ============================================================
   RESPONSIVE — ≤768px
   ============================================================ */
@media (max-width: 768px) {
    .disc-class-desc-margined {
        margin-bottom: 0px;
    }

    nav {
        padding: 1.2rem 1.5rem;
    }

    nav.scrolled {
        padding: 0.8rem 1.5rem;
    }

    .nav-hamburger {
        display: block;
    }

    .nav-socials {
        display: none;
    }

    .nav-overlay {
        display: block;
        pointer-events: none;
    }

    .nav-overlay.active {
        pointer-events: auto;
    }

    .nav-logo-text {
        font-size: 0.8rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--wine-dark);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 3rem 2.5rem;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.5s var(--transition-smooth);
        z-index: 1005;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(232, 226, 212, 0.08);
    }

    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 1rem;
    }

    .nav-links a {
        display: block;
        color: rgba(232, 226, 212, 0.75) !important;
        font-size: 0.9rem;
        letter-spacing: 0.15em;
        padding: 1.2rem 0;
    }

    .nav-links a:hover {
        color: var(--cream) !important;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links .nav-cta {
        display: block;
        text-align: center;
        border-color: rgba(232, 226, 212, 0.25) !important;
        color: var(--cream) !important;
        padding: 1rem 1.8rem;
    }

    .nav-links .nav-mobile-socials {
        display: flex;
        gap: 1rem;
        padding-top: 1.5rem;
        border-bottom: none !important;
    }

    .nav-links .nav-mobile-socials a {
        width: 34px;
        height: 34px;
        padding: 0;
        border: 1px solid rgba(232, 226, 212, 0.2) !important;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(232, 226, 212, 0.6) !important;
    }

    .nav-links .nav-mobile-socials a:hover {
        color: var(--cream) !important;
        border-color: rgba(232, 226, 212, 0.5) !important;
    }

    .nav-links .nav-mobile-socials a svg {
        width: 14px;
        height: 14px;
        fill: currentColor;
    }

    .hero {
        min-height: 600px;
    }

    .hero-content {
        padding: 0 1.5rem 3.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-scroll {
        display: none;
    }

    .section-padding {
        padding: 5rem 1.5rem;
    }

    .section-divider {
        padding: 0 1.5rem;
    }

    .classes-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .class-header {
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .class-name {
        font-size: 1.2rem;
    }

    .class-toggle {
        width: 34px;
        height: 34px;
    }

    .discipline-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .discipline-img-wrap {
        min-height: 260px;
    }

    .memberships-header {
        margin-bottom: 3rem;
    }

    .membership-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .membership-card {
        padding: 2.2rem 1.8rem;
    }

    .packages-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .category-trigger-left {
        gap: 1rem;
    }

    .category-name {
        font-size: 1.2rem;
    }

    .category-count {
        display: none;
    }

    .category-toggle {
        width: 34px;
        height: 34px;
    }

    .package-grid.cols-5,
    .package-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pkg-card.pkg-featured {
        grid-column: 1 / -1;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .location-address {
        font-size: 1.15rem;
    }

    .map-wrapper {
        height: 320px;
        border-radius: 12px;
    }

    .map-overlay {
        bottom: 1rem;
        left: 1rem;
        padding: 1rem 1.2rem;
    }

    /* Modal mobile */
    .booking-modal-container {
        width: 100vw;
        max-width: 100%;
        max-height: 100dvh;
        height: 100dvh;
        border-radius: 0;
    }

    .booking-modal-header {
        padding: 1.2rem 1.5rem;
    }

    .booking-modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }

    .booking-modal-title {
        font-size: 1.05rem;
    }

    footer {
        padding: 4rem 1.5rem 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-top>div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
}

/* ============================================================
   RESPONSIVE — ≤480px
   ============================================================ */
@media (max-width: 480px) {

    .disc-class-desc-margined {
        margin-bottom: 0px;
    }

    nav {
        padding: 1rem 1rem;
    }

    nav.scrolled {
        padding: 0.7rem 1rem;
    }

    .nav-links {
        width: 100%;
    }

    .nav-logo-text {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .hero {
        min-height: 550px;
    }

    .hero-content {
        padding: 0 1rem 2.5rem;
    }

    .hero-eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.18em;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: 2rem;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 0.72rem;
        padding: 0.85rem 1.6rem;
    }

    .section-padding {
        padding: 3.5rem 1rem;
    }

    .section-divider {
        padding: 0 1rem;
    }

    .section-label {
        font-size: 0.62rem;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    .class-header {
        gap: 0.8rem;
        padding: 1.2rem 0;
    }

    .class-number {
        font-size: 0.75rem;
        min-width: 1.5rem;
    }

    .class-name {
        font-size: 1.05rem;
    }

    .class-toggle {
        width: 30px;
        height: 30px;
    }

    .class-toggle svg {
        width: 12px;
        height: 12px;
    }

    .discipline-img-wrap {
        min-height: 220px;
        border-radius: 10px;
    }

    .disc-class {
        padding: 1.2rem 0;
    }

    .disc-class-name {
        font-size: 1.05rem;
    }

    .disc-class-desc {
        font-size: 0.84rem;
    }

    .memberships-header {
        margin-bottom: 2rem;
    }

    .membership-grid {
        max-width: 100%;
    }

    .membership-card {
        padding: 2rem 1.5rem;
    }

    .membership-amount {
        font-size: 2.4rem;
    }

    .category-trigger {
        padding: 1.2rem 0;
    }

    .category-trigger-left {
        gap: 0.8rem;
    }

    .category-number {
        font-size: 0.75rem;
        min-width: 1.5rem;
    }

    .category-name {
        font-size: 1.05rem;
    }

    .category-toggle {
        width: 30px;
        height: 30px;
    }

    .category-toggle svg {
        width: 12px;
        height: 12px;
    }

    .package-grid.cols-5,
    .package-grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .pkg-card {
        padding: 1.6rem 1.3rem;
    }

    .pkg-card.pkg-featured {
        grid-column: 1;
    }

    .pkg-amount {
        font-size: 2rem;
    }

    .location-address {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .location-details {
        gap: 1.2rem;
        margin-bottom: 2rem;
    }

    .location-detail-text {
        font-size: 0.88rem;
    }

    .map-wrapper {
        height: 260px;
        border-radius: 10px;
    }

    .map-overlay {
        bottom: 0.75rem;
        left: 0.75rem;
        padding: 0.8rem 1rem;
        border-radius: 8px;
    }

    .map-overlay-name {
        font-size: 0.88rem;
    }

    .map-overlay-addr {
        font-size: 0.72rem;
    }

    footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .footer-top>div:first-child {
        grid-column: auto;
    }

    .footer-brand-desc {
        max-width: 100%;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .footer-copy {
        font-size: 0.72rem;
    }
}