@import url('https://fonts.googleapis.com/css2?family=Anton&family=Permanent+Marker&family=Cairo:ital,wght@0,300..1000;1,300..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

@font-face {
    font-family: 'Hacen';
    src: url('../fonts/Hacen%20Maghreb%20Lt.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
    font-family: 'Hacen';
    src: url('../fonts/Hacen%20Maghreb.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
    font-family: 'Hacen';
    src: url('../fonts/Hacen%20Maghreb%20Bd.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}


:root {
    /* REFIT Brand Colors */
    --color-primary: #5A2E73; /* Deep Amethyst */
    --color-accent: #3D6EF5; /* Cobalt */
    --color-highlight: #C9A24B; /* Metallic Gold */
    --badge-color: #5A2E73; /* Deep Amethyst badge (brand primary) */
    --badge-color-2: #7C3DA6; /* Lighter amethyst for the badge gradient */
    --badge-color-3: #3E2056; /* Deeper amethyst for the badge gradient */
    --badge-text: #F6F1E7;  /* Warm cream type on the amethyst badge */
    --badge-glow: #E8C15A;  /* Warm gold used for the badge glow halo */
    --gold-bright: #EAC76A; /* Luminous gold for accents (brush, sheen) */
    --hero-bg: #160F1E; /* Deep ink-amethyst hero backdrop */
    --color-dark: #120d15; /* Ink / Charcoal, slightly darker for premium feel */
    --color-light: #F8F9FA;
    --color-white: #FFFFFF;
    
    /* Typography — Hacen renders Arabic; Cairo (bilingual-friendly) carries
       every English fallback, so both languages share one cohesive voice. */
    --font-heading: 'Hacen', 'Cairo', sans-serif;
    --font-body: 'Hacen', 'Cairo', sans-serif;
    --font-arabic: 'Hacen', 'Cairo', sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(90, 46, 115, 0.4);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Skip link — first tab stop, off-screen until focused */
.skip-link {
    position: absolute;
    inset-inline-start: 1rem;
    top: -100px;
    z-index: 10000;
    padding: 12px 22px;
    border-radius: 0 0 12px 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--hero-bg);
    background: var(--gold-bright);
    transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.skip-link:focus { top: 0; outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* ==========================================================================
   Main Header — Premium Dark Animated Menu
   ========================================================================== */
.main-header {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* NB: animate `top` (not transform). The glass blur lives on ::before, NOT
       on this element — a backdrop-filter / transform here would trap the fixed
       mobile overlay (a descendant) inside the 92px-tall header box. */
    top: -110px;
    animation: headerDrop 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    transition: box-shadow 0.5s ease;
}

@keyframes headerDrop { to { top: 0; } }

/* Glass layer (separate box so it never becomes the overlay's containing block) */
.main-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 9, 21, 0.82) 0%, rgba(15, 9, 21, 0.15) 100%);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    transition: background 0.5s ease;
}

/* Animated gold hairline along the bottom edge (appears on scroll) */
.main-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 75, 0.65) 50%, transparent);
    transform: scaleX(0);
    transition: transform 0.8s ease;
    z-index: 1;
}

.main-header.scrolled::before { background: rgba(12, 8, 17, 0.92); }
.main-header.scrolled { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); }
.main-header.scrolled::after { transform: scaleX(1); }

.nav-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 92px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled .nav-container { height: 74px; }

/* keep the legacy keyframe available for other pages */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Animated Logo ---- */
.logo {
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}

.logo-frame {
    position: relative;
    display: block;
    height: 72px;
    opacity: 0;
    transform: translateY(-14px) scale(0.82);
    filter: blur(6px);
    animation: logoIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled .logo-frame { height: 56px; }

@keyframes logoIn { to { opacity: 1; transform: none; filter: blur(0); } }

.logo-img {
    height: 100%;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(124, 61, 166, 0.45));
    animation: logoFloat 5s ease-in-out 1.5s infinite;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0);    filter: drop-shadow(0 4px 16px rgba(124, 61, 166, 0.45)); }
    50%      { transform: translateY(-4px); filter: drop-shadow(0 9px 24px rgba(201, 162, 75, 0.5)); }
}

.logo:hover .logo-img { transform: scale(1.07) rotate(-1deg); }

/* Gold glint that sweeps across the logo silhouette */
.logo-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.85) 48%, rgba(234, 199, 106, 0.95) 52%, transparent 62%);
    background-size: 280% 100%;
    background-repeat: no-repeat;
    -webkit-mask: url('../mainlogo.png') center / contain no-repeat;
    mask: url('../mainlogo.png') center / contain no-repeat;
    mix-blend-mode: screen;
    animation: logoShine 6s ease-in-out 2.2s infinite;
}

@keyframes logoShine {
    0%   { background-position: 190% 0; }
    22%  { background-position: -90% 0; }
    100% { background-position: -90% 0; }
}

/* ---- Desktop Menu ---- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.3rem;
}

.nav-item {
    opacity: 0;
    transform: translateY(-10px);
    animation: navIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.08s + 0.5s);
}

@keyframes navIn { to { opacity: 1; transform: none; } }

.nav-link {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 1.45em;
    line-height: 1.45em;
    padding: 0.2rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #CFC4DC;
}

.nav-link span {
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* gold duplicate that rolls up on hover */
.nav-link::before {
    content: attr(data-text);
    position: absolute;
    inset-inline-start: 0;
    top: 0.2rem;
    color: var(--gold-bright);
    transform: translateY(140%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover span { transform: translateY(-140%); }
.nav-link:hover::before { transform: translateY(0); }

/* gold underline grows from the reading-start edge */
.nav-link::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--color-highlight), var(--gold-bright));
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
[dir="rtl"] .nav-link::after { transform-origin: right; }

.nav-link:hover::after { transform: scaleX(1); }

/* ---- Actions (Right Side) ---- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    animation: navIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.lang-switch {
    font-family: var(--font-arabic);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    color: #CFC4DC;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(201, 162, 75, 0.4);
    border-radius: 40px;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.lang-switch:hover {
    color: var(--hero-bg);
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    transform: translateY(-1px);
}

/* ---- CTA Button ---- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-glow {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--color-primary), var(--color-accent));
    background-size: 200% 200%;
    color: var(--color-white);
    border: none;
    box-shadow: 0 6px 22px rgba(90, 46, 115, 0.45);
    animation: gradientShift 6s ease infinite;
}

.btn-glow span { position: relative; z-index: 1; }

/* shine sweep on hover */
.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -70%;
    width: 45%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn-glow:hover::after { left: 130%; }

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(61, 110, 245, 0.55);
}

/* mobile-only actions block lives in the overlay */
.nav-cta-mobile { display: none; }

/* ---- Hamburger ---- */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1100;
}

.bar {
    display: block;
    width: 26px;
    height: 2px;
    margin: 6px auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--gold-bright);
    border-radius: 2px;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--color-dark);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 1000px;
}

/* ==========================================================================
   Inner Pages Styling
   ========================================================================== */

/* Inner Header */
.inner-header {
    background: var(--color-dark);
    padding: 120px 2rem 60px;
    text-align: center;
    color: var(--color-white);
}

.inner-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.inner-header p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Content Sections */
.content-section {
    padding: 5rem 2rem;
    background: var(--color-light);
}

/* Class Grid */
.class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.class-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform var(--transition-medium);
}

.class-card:hover {
    transform: translateY(-10px);
}

.class-img {
    height: 200px;
    width: 100%;
}

.class-info {
    padding: 1.5rem;
}

.class-info h3 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

/* Coach Grid */
.coach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.coach-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform var(--transition-medium);
}

.coach-card:hover {
    transform: translateY(-10px);
}

.coach-img {
    height: 300px;
    width: 100%;
    /* These will act as placeholders until real images are added */
    border-bottom: 4px solid var(--color-highlight);
}

.coach-info {
    padding: 2rem 1.5rem;
}

.coach-info h3 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.coach-specialty {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
}

.pricing-card.featured {
    background: var(--color-dark);
    color: var(--color-white);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(90, 46, 115, 0.2);
}

.pricing-card.featured h3 {
    color: var(--color-primary);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-highlight);
    color: var(--color-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
    font-family: var(--font-heading);
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-card.featured .pricing-features li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: none;
    }
}

.split-image {
    border-radius: 12px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-style: italic;
}

.feature-list {
    margin-top: 1.5rem;
    padding-left: 1.2rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
}

/* Contact Form */
.contact-info {
    padding: 3rem;
    border-radius: 12px;
    color: var(--color-white);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.contact-list li {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(61, 110, 245, 0.1);
}

/* Utility Helpers */
.bg-amethyst { background-color: var(--color-primary); }
.bg-cobalt { background-color: var(--color-accent); }
.bg-gold { background-color: var(--color-highlight); }
.bg-dark { background-color: var(--color-dark); }
.color-highlight { color: var(--color-highlight); }

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Extremely premium deep amethyst and gold tinted gradient overlay */
    background: 
        radial-gradient(circle at center, rgba(90, 46, 115, 0.4) 0%, rgba(27, 19, 32, 0.6) 60%),
        linear-gradient(135deg, rgba(27, 19, 32, 0.8) 0%, rgba(201, 162, 75, 0.15) 50%, rgba(27, 19, 32, 0.95) 100%);
    z-index: -1;
}

.slide-content {
    max-width: 800px;
    padding: 0 2rem clamp(80px, 12vh, 140px);
    color: var(--color-white);
    z-index: 2;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.slide-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
    pointer-events: auto;
}

.slider-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.1);
}

/* RTL reverses the flex row (prev/next swap sides); flip the glyphs so each
   arrow still points toward the direction it will actually slide. */
[dir="rtl"] .slider-btn { transform: scaleX(-1); }
[dir="rtl"] .slider-btn:hover { transform: scaleX(-1) scale(1.1); }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition-medium);
}

.dot.active, .dot:hover {
    background: var(--color-highlight);
    transform: scale(1.2);
}

/* Make sure header text is white when transparent over the slider */
.header-transparent .nav-link,
.header-transparent .lang-switch {
    color: var(--color-white);
}

.header-transparent .logo img {
    filter: brightness(0) invert(1); /* Make logo white initially */
}

.header-transparent.scrolled .logo img {
    filter: none; /* Revert logo to original colors on scroll */
}

/* ==========================================================================
   Phive-Inspired Hero Section (Scroll-Scrubbed Pinned Stage)
   --------------------------------------------------------------------------
   .phive-scroll is a tall scroller; JS maps its scroll progress (0..1) onto
   the pinned .phive-stage, driving every sub-animation. Variables set by JS:
     --p        overall progress 0..1
     --band-y   intro marquee vertical offset (%)
     --rise     hero-content rise offset (px)
     --notch    badge side-notch radius (px)  0 = plain rect, >0 = ticket
     --brush    brush reveal 0..1
     --dash     ribbon stroke-dashoffset
     --arrow    down-arrow opacity 0..1
     --outro    outro marquee opacity 0..1
   ========================================================================== */
.phive-scroll {
    position: relative;
    width: 100%;
    height: 100vh;            /* auto-playing hero — no scroll travel needed */
    background-color: var(--hero-bg);
}

.phive-stage {
    position: relative;
    height: 100vh;
    overflow: hidden;
    /* Amethyst-to-cobalt radial bloom behind the badge, fading to deep ink */
    background:
        radial-gradient(125% 95% at 50% 44%,
            rgba(124, 61, 166, 0.42) 0%,
            rgba(61, 110, 245, 0.12) 40%,
            rgba(22, 15, 30, 0) 72%),
        var(--hero-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cobalt Intro Marquee Band */
.intro-band {
    position: absolute;
    top: 18%;
    left: 0;
    width: 100%;
    background-color: var(--color-accent); /* Cobalt */
    padding: 0.35rem 0;
    overflow: hidden;
    z-index: 4;
    transform: translateY(var(--band-y, 0%));
    box-shadow: 0 0 60px rgba(61, 110, 245, 0.45);
    will-change: transform;
}

.intro-marquee,
.outro-marquee {
    display: flex;
    width: max-content;
    animation: marquee 22s linear infinite;
}

.intro-marquee span {
    font-family: 'Anton', sans-serif;
    font-size: clamp(56px, 13vw, 150px);
    line-height: 1.04;
    color: var(--hero-bg); /* Deep ink lettering on cobalt */
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: -1px;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Outro Info Marquee */
.outro-band {
    position: absolute;
    bottom: 8%;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 4;
    opacity: var(--outro, 0);
    transition: opacity 0.2s linear;
}

.outro-marquee { animation-duration: 30s; }

.outro-marquee span {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(11px, 1.4vw, 15px);
    letter-spacing: 2px;
    color: var(--color-highlight);
    text-transform: uppercase;
    white-space: nowrap;
}

/* Background Gold Ribbon (drawn proportionally to scroll via --dash) */
.bg-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-line .ribbon {
    fill: none;
    stroke: var(--color-highlight); /* Metallic gold */
    stroke-linecap: round;
    stroke-dasharray: 3600;
    stroke-dashoffset: var(--dash, 3600);
}

/* Secondary ribbon in cobalt for energy */
.bg-line .ribbon--faint { stroke: var(--color-accent); opacity: 0.5; }

/* Down Arrow */
.down-arrow {
    position: absolute;
    top: 13%;
    left: 50%;
    z-index: 5;
    opacity: var(--arrow, 0);
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 14px); }
}

/* Hero Content — rises from below and un-stretches as you scroll.
   --stretch starts tall (letters elongated, filling the badge) and eases to 1. */
.hero-content {
    position: relative;
    z-index: 10;
    transform: translateY(var(--rise, 60vh)) scaleY(var(--stretch, 2));
    transform-origin: center center;
    will-change: transform;
}

/* Sharp gold EDGE glow. A masked copy of the ticket sits exactly under the
   badge (hidden by it); the wrapper's tight drop-shadow paints a crisp gold rim
   that traces the exact silhouette — notches included — instead of a soft halo.
   (The glow lives on a separate element because the badge's own mask would clip
   any shadow applied directly to it.) */
.badge-glow {
    position: absolute;
    top: -73px;
    bottom: -73px;
    left: -90px;
    right: -90px;
    z-index: 0;
    filter: drop-shadow(0 0 1.5px rgba(234, 199, 106, 0.95))
            drop-shadow(0 0 5px rgba(234, 199, 106, 0.5));
    animation: badgeGlow 3.4s ease-in-out infinite alternate;
}

.badge-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 36px;
    background-color: var(--badge-glow);
    /* Mirror the badge's notch mask (radius shared via the inherited --notch) */
    -webkit-mask:
        radial-gradient(circle var(--notch, 0px) at left center, transparent 0 var(--notch, 0px), #000 calc(var(--notch, 0px) + 1px)),
        radial-gradient(circle var(--notch, 0px) at right center, transparent 0 var(--notch, 0px), #000 calc(var(--notch, 0px) + 1px));
    -webkit-mask-composite: source-in;
    mask:
        radial-gradient(circle var(--notch, 0px) at left center, transparent 0 var(--notch, 0px), #000 calc(var(--notch, 0px) + 1px)),
        radial-gradient(circle var(--notch, 0px) at right center, transparent 0 var(--notch, 0px), #000 calc(var(--notch, 0px) + 1px));
    mask-composite: intersect;
}

@keyframes badgeGlow {
    from { filter: drop-shadow(0 0 1px rgba(234, 199, 106, 0.85)) drop-shadow(0 0 3px rgba(234, 199, 106, 0.4)); }
    to   { filter: drop-shadow(0 0 2.5px rgba(234, 199, 106, 1)) drop-shadow(0 0 8px rgba(234, 199, 106, 0.55)); }
}

/* The Amethyst Badge — plain rounded rect that morphs into a notched ticket */
.badge-bg {
    position: absolute;
    top: -73px;
    bottom: -73px;
    left: -90px;
    right: -90px;
    background-color: var(--badge-color);
    background-image:
        /* diagonal metallic sheen streak */
        linear-gradient(118deg,
            rgba(236, 222, 250, 0) 30%,
            rgba(200, 170, 232, 0.40) 46%,
            rgba(240, 226, 251, 0.78) 53%,
            rgba(200, 170, 232, 0.38) 60%,
            rgba(236, 222, 250, 0) 76%),
        /* amethyst body, lighter at top */
        linear-gradient(168deg,
            #7E48A2 0%,
            #5A2E73 44%,
            #44225D 100%);
    border-radius: 36px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
                inset 0 -4px 16px rgba(0, 0, 0, 0.32);
    z-index: 1;
    /* Side-notch radius is driven by --notch (0 = no notch = plain rect) */
    -webkit-mask:
        radial-gradient(circle var(--notch, 0px) at left center, transparent 0 var(--notch, 0px), #000 calc(var(--notch, 0px) + 1px)),
        radial-gradient(circle var(--notch, 0px) at right center, transparent 0 var(--notch, 0px), #000 calc(var(--notch, 0px) + 1px));
    -webkit-mask-composite: source-in;
    mask:
        radial-gradient(circle var(--notch, 0px) at left center, transparent 0 var(--notch, 0px), #000 calc(var(--notch, 0px) + 1px)),
        radial-gradient(circle var(--notch, 0px) at right center, transparent 0 var(--notch, 0px), #000 calc(var(--notch, 0px) + 1px));
    mask-composite: intersect;
}

/* Typography Stack */
.text-stack {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.8;
}

.bold-word {
    font-family: 'Anton', sans-serif;
    font-size: clamp(78px, 15.4vw, 174px);
    color: var(--badge-text); /* Warm cream on amethyst */
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.35);
}

/* Words that reveal progressively (collapsed to height 0 until scrolled in) */
.reveal-word {
    overflow: hidden;
    height: 0;
    opacity: 0;
}

/* "YOUR" is narrower, sits in the pinched middle between the notches */
#word-2 { font-size: clamp(64px, 12.6vw, 140px); }

/* Brush Script Overlay (revealed left-to-right via --brush) */
.brush-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-4deg);
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(34px, 6.2vw, 72px);
    color: var(--gold-bright); /* Luminous gold brush */
    white-space: nowrap;
    z-index: 3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.55), 0 0 26px rgba(234, 199, 106, 0.35);
    clip-path: inset(0 calc((1 - var(--brush, 0)) * 100%) 0 0);
}

/* Reduced motion: present the fully-assembled end state, no scrubbing needed */
@media (prefers-reduced-motion: reduce) {
    .phive-scroll { height: 100vh; }
    .intro-band, .outro-band { display: none; }
    .hero-content { transform: none; }
    .reveal-word { height: auto; opacity: 1; }
    .hero-content { --notch: 81px; }
    .badge-glow { animation: none; }
    .brush-text { clip-path: none; }
    .bg-line .ribbon { stroke-dashoffset: 0; }
    .down-arrow { opacity: 1; }
}

/* Responsive: smaller notch radius on small screens (glow tracks the badge) */
@media (max-width: 992px) {
    .badge-bg, .badge-glow { top: -56px; bottom: -56px; left: -67px; right: -67px; border-radius: 28px; }
}

@media (max-width: 576px) {
    .badge-bg, .badge-glow { top: -42px; bottom: -42px; left: -48px; right: -48px; border-radius: 22px; }
    .down-arrow { top: 11%; }
}

/* ==========================================================================
   Responsive — Full-Screen Animated Mobile Overlay
   ========================================================================== */
@media (max-width: 992px) {
    .nav-container { padding: 0 1.4rem; }

    .nav-actions { display: none; }

    .hamburger { display: block; }

    /* Morphing Hamburger to 'X' */
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Overlay revealed with a circular wipe from the hamburger corner */
    .nav-menu {
        position: fixed;
        inset: 0;
        gap: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background:
            radial-gradient(120% 80% at 78% 8%, rgba(90, 46, 115, 0.4), transparent 58%),
            radial-gradient(100% 70% at 10% 100%, rgba(61, 110, 245, 0.22), transparent 60%),
            rgba(11, 7, 16, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        clip-path: circle(0% at calc(100% - 42px) 42px);
        transition: clip-path 0.65s cubic-bezier(0.76, 0, 0.24, 1);
        padding: 2rem;
    }

    .nav-menu.active { clip-path: circle(150% at calc(100% - 42px) 42px); }

    /* In RTL the flex row reverses, so the hamburger sits at the top-left —
       the wipe must originate from that corner instead. */
    [dir="rtl"] .nav-menu { clip-path: circle(0% at 42px 42px); }
    [dir="rtl"] .nav-menu.active { clip-path: circle(150% at 42px 42px); }

    .nav-item {
        margin: 0.45rem 0;
        width: auto;
        text-align: center;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        animation: none;
    }

    .nav-menu.active .nav-item { opacity: 1; transform: none; }

    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.18s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.25s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.32s; }
    .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.39s; }
    .nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.46s; }
    .nav-menu.active .nav-item:nth-child(6) { transition-delay: 0.53s; }
    .nav-menu.active .nav-cta-mobile { transition-delay: 0.62s; }

    /* Big display links; disable the desktop roll-up effect */
    .nav-link {
        display: inline-block;
        overflow: visible;
        height: auto;
        line-height: 1.1;
        font-family: var(--font-heading);
        font-size: clamp(2.2rem, 9vw, 3.2rem);
        font-weight: 600;
        letter-spacing: 1px;
        color: #F2ECF6;
        padding: 0.35rem 0;
    }
    .nav-link span { transform: none !important; }
    .nav-link::before { display: none; }
    .nav-link::after { bottom: 0; height: 3px; }

    /* Actions inside the overlay */
    .nav-cta-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.1rem;
        margin-top: 1.8rem;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-menu.active .nav-cta-mobile { opacity: 1; transform: none; }

    .nav-cta-mobile .btn { font-size: 1rem; padding: 0.95rem 2.4rem; }
    .nav-cta-mobile .lang-switch { font-size: 1.1rem; }

    /* Lock scroll while the overlay is open */
    body.menu-open { overflow: hidden; }
}

/* ==========================================================================
   Premium Animated Footer
   ========================================================================== */
.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 80% at 50% -10%, rgba(90, 46, 115, 0.28), transparent 55%),
        linear-gradient(180deg, #0c0712 0%, #160F1E 60%, #0a0610 100%);
    color: #C9C0D6;
    padding: 6rem 0 1.5rem;
    isolation: isolate;
}

/* Top hairline */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 75, 0.5) 50%, transparent);
}

/* --- Drifting aurora --- */
.footer-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.footer-aurora .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    will-change: transform;
}
.blob-1 { width: 460px; height: 460px; top: -120px; left: -80px; background: radial-gradient(circle, #5A2E73, transparent 70%); animation: blobDrift 18s ease-in-out infinite; }
.blob-2 { width: 520px; height: 520px; top: 10%; right: -140px; background: radial-gradient(circle, #3D6EF5, transparent 70%); animation: blobDrift 22s ease-in-out infinite reverse; }
.blob-3 { width: 380px; height: 380px; bottom: -120px; left: 38%; background: radial-gradient(circle, #C9A24B, transparent 70%); opacity: 0.28; animation: blobDrift 26s ease-in-out infinite; }

@keyframes blobDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(60px, -40px) scale(1.12); }
    66%      { transform: translate(-50px, 30px) scale(0.92); }
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* --- Scroll reveal --- */
.site-footer .reveal {
    opacity: 0;
    transform: translateY(42px);
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-footer.in-view .reveal { opacity: 1; transform: none; }
.site-footer.in-view .footer-grid .f-col:nth-child(1) { transition-delay: 0.05s; }
.site-footer.in-view .footer-grid .f-col:nth-child(2) { transition-delay: 0.14s; }
.site-footer.in-view .footer-grid .f-col:nth-child(3) { transition-delay: 0.23s; }
.site-footer.in-view .footer-grid .f-col:nth-child(4) { transition-delay: 0.32s; }
.site-footer.in-view .footer-wordmark { transition-delay: 0.2s; }

/* --- CTA — headline one side, doorway the other --- */
.footer-cta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    text-align: start;
    margin-bottom: 4.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-eyebrow {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold-bright);
    margin-bottom: 1rem;
}
.footer-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    font-weight: 800; line-height: 1.15; color: #fff;
}
.footer-headline .gold { color: var(--gold-bright); }
.footer-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}

.footer-join {
    position: relative;
    display: inline-flex; align-items: center; gap: 0.9rem;
    padding: 1.05rem 2.2rem;
    border-radius: 50px;
    font-weight: 700; font-size: 1.02rem; letter-spacing: 0.5px;
    color: #fff;
    background: linear-gradient(120deg, var(--color-primary), var(--color-accent));
    box-shadow: 0 10px 34px rgba(90, 46, 115, 0.5);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    will-change: transform;
}
.footer-join::after {
    content: ''; position: absolute; top: 0; left: -70%;
    width: 45%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.footer-join:hover::after { left: 130%; }
.footer-join:hover { box-shadow: 0 16px 44px rgba(61, 110, 245, 0.6); }
.join-label, .join-arrow { position: relative; z-index: 1; display: inline-flex; }
.join-arrow { transition: transform 0.3s ease; }
.footer-join:hover .join-arrow { transform: translateX(5px); }
[dir="rtl"] .join-arrow svg { transform: scaleX(-1); }
[dir="rtl"] .footer-join:hover .join-arrow { transform: translateX(-5px); }

/* --- Live 24/7 status --- */
.footer-status {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.5rem 1.1rem;
    border: 1px solid rgba(201, 162, 75, 0.25);
    border-radius: 40px;
    font-size: 0.85rem; letter-spacing: 0.5px; color: #D8CFE4;
    background: rgba(255, 255, 255, 0.02);
}
.pulse-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: #36e08a;
    box-shadow: 0 0 0 0 rgba(54, 224, 138, 0.7);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(54, 224, 138, 0.7); }
    70%  { box-shadow: 0 0 0 9px rgba(54, 224, 138, 0); }
    100% { box-shadow: 0 0 0 0 rgba(54, 224, 138, 0); }
}
.status-text { color: #36e08a; font-weight: 600; }
.status-sep { opacity: 0.4; }
.status-clock { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--gold-bright); }
.status-tz { opacity: 0.6; }

/* --- Link grid --- */
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 3rem 2rem;
    padding-bottom: 3rem;
}
.f-col h4 {
    font-size: 0.78rem; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: #fff; margin-bottom: 1.3rem;
}
.f-col ul li { margin-bottom: 0.85rem; }
.f-col ul a {
    position: relative;
    color: #B7AEC6; font-size: 0.96rem;
    transition: color 0.3s ease, padding-inline-start 0.3s ease;
}
.f-col ul a::before {
    content: ''; position: absolute; inset-inline-start: -14px; top: 50%;
    width: 7px; height: 1.5px; background: var(--gold-bright);
    transform: translateY(-50%) scaleX(0);
    transition: transform 0.3s ease;
}
.f-col ul a:hover { color: #fff; padding-inline-start: 14px; }
.f-col ul a:hover::before { transform: translateY(-50%) scaleX(1); }

.f-logo img { height: 84px; width: auto; margin-bottom: 1.2rem; filter: drop-shadow(0 6px 18px rgba(124, 61, 166, 0.4)); }
.f-tagline { font-size: 0.95rem; line-height: 1.7; color: #A99FBC; max-width: 320px; margin-bottom: 1.5rem; }

.f-socials { display: flex; gap: 0.7rem; }
.f-social {
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 50%;
    color: #D8CFE4;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.f-social:hover {
    transform: translateY(-4px);
    color: var(--hero-bg);
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    box-shadow: 0 8px 22px rgba(201, 162, 75, 0.45);
}

/* contact column */
.f-addr { font-size: 0.95rem; line-height: 1.7; color: #A99FBC; margin-bottom: 1rem; }
.f-phone {
    display: inline-block; font-size: 1.15rem; font-weight: 700; color: #fff;
    margin-bottom: 1.4rem; transition: color 0.3s ease;
}
.f-phone:hover { color: var(--gold-bright); }

/* WhatsApp opt-in replaces the old email field */
.f-news-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 320px;
    padding: 12px 22px;
    border-radius: 40px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #F6F1E7;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.45);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.f-news-wa svg { flex: none; color: #25D366; }
.f-news-wa:hover,
.f-news-wa:focus-visible {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25D366;
    transform: translateY(-2px);
}

/* shown only when the browser blocks the WhatsApp popup */
.ct-form-fallback {
    display: inline-block;
    margin-top: 0.2rem;
    font-weight: 700;
    color: var(--gold-bright);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- The REFIT family — ONE Center strip --- */
.f-family {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
    padding: 1.3rem 1.8rem;
    border-radius: 20px;
    background: linear-gradient(120deg, rgba(5, 46, 44, 0.85), rgba(10, 74, 66, 0.55));
    border: 1px solid rgba(95, 201, 186, 0.28);
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.f-family::after {
    content: '';
    position: absolute;
    top: 0; inset-inline-start: -70%;
    width: 45%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(95, 201, 186, 0.18), transparent);
    transform: skewX(-20deg);
    transition: inset-inline-start 0.7s ease;
    pointer-events: none;
}
.f-family:hover::after { inset-inline-start: 130%; }
.f-family:hover {
    transform: translateY(-3px);
    border-color: rgba(95, 201, 186, 0.55);
    box-shadow: 0 16px 40px rgba(5, 46, 44, 0.5);
}
.f-family-pulse {
    flex-shrink: 0;
    position: relative;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #5FC9BA;
}
.f-family-pulse::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(95, 201, 186, 0.7);
    animation: abPulse 2.2s ease-out infinite;
}
.f-family-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.f-family-text strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: #D9F2ED;
}
.f-family-text > span { font-size: 0.88rem; font-weight: 300; color: #8FC9BE; }
.f-family-cta { display: flex; align-items: center; gap: 12px; }
.f-family-hint {
    font-size: 0.85rem; font-weight: 600; color: #5FC9BA;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(calc(var(--flip, 1) * 10px));
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
[dir="rtl"] .f-family-hint, [dir="rtl"] .f-family-arrow { --flip: -1; }
.f-family:hover .f-family-hint { opacity: 1; transform: translateX(0); }
.f-family-arrow {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    color: #D9F2ED;
    border: 1px solid rgba(95, 201, 186, 0.4);
    transition: background 0.4s ease, color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
[dir="rtl"] .f-family-arrow svg { transform: scaleX(-1); }
.f-family:hover .f-family-arrow {
    background: #5FC9BA;
    color: #052E2C;
    transform: translateX(calc(var(--flip, 1) * 4px));
}

/* --- Astonishing kinetic wordmark --- */
.footer-wordmark {
    margin: 3.5rem 0 1.5rem;
    text-align: center;
    line-height: 0.78;
    overflow: hidden;
    cursor: default;
}
.footer-wordmark .wm {
    display: inline-block;
    font-family: 'Anton', sans-serif;
    font-size: clamp(5rem, 27vw, 27rem);
    letter-spacing: 0.02em;
    /* Layer 1: cursor spotlight (bright gold).  Layer 2: animated metallic sheen */
    background:
        radial-gradient(circle 24vw at var(--mx, 50%) var(--my, 45%), rgba(255, 246, 214, 0.95), rgba(255, 246, 214, 0) 55%),
        linear-gradient(110deg, #4a3214 0%, #C9A24B 28%, #F6E8B8 50%, #C9A24B 72%, #4a3214 100%);
    background-size: 100% 100%, 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: wmSheen 7s linear infinite;
}
@keyframes wmSheen {
    0%   { background-position: 0 0, -110% 0; }
    100% { background-position: 0 0, 110% 0; }
}

/* --- Bottom bar --- */
.footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 1rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem; color: #877E99;
}
.footer-bottom-links { display: flex; gap: 1.6rem; }
.footer-bottom-links a { color: #877E99; transition: color 0.3s ease; }
.footer-bottom-links a:hover { color: var(--gold-bright); }
.back-top {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: none; border: 1px solid rgba(255, 255, 255, 0.14);
    color: #C9C0D6; cursor: pointer;
    padding: 0.5rem 1rem; border-radius: 40px;
    font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase;
    transition: all 0.3s ease;
}
.back-top svg { transition: transform 0.3s ease; }
.back-top:hover { color: var(--hero-bg); background: var(--gold-bright); border-color: var(--gold-bright); }
.back-top:hover svg { transform: translateY(-3px); }

/* --- Footer responsive --- */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 576px) {
    .site-footer { padding-top: 4rem; }
    .footer-inner { padding: 0 1.4rem; }
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 1.2rem; }
    .f-brand { grid-column: 1 / -1; }
    .footer-cta { flex-direction: column; align-items: center; text-align: center; }
    .footer-cta-actions { align-items: center; }
    .f-family { flex-wrap: wrap; }
    .f-family-hint { display: none; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-wordmark .wm { font-size: 30vw; }
}

@media (prefers-reduced-motion: reduce) {
    .footer-aurora .blob,
    .footer-wordmark .wm,
    .f-family-pulse::after,
    .pulse-dot { animation: none !important; }
    .site-footer .reveal { opacity: 1; transform: none; }
    .footer-join, .f-family { transition: none; }
}

/* ==========================================================================
   "Activate Your Senses" — Interactive Cinematic Intro (Training page)
   ========================================================================== */
.ax-stage {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 92px 20px 40px;
    background: transparent; /* inherits the unified wrapper backdrop */
    isolation: isolate;
    pointer-events: none; /* allow hovering the gallery underneath */
}
.ax-stage > * {
    pointer-events: auto;
}

/* --- immersive gym photos woven into the background --- */
.ax-photos { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ax-photo {
    position: absolute;
    overflow: hidden;
    opacity: 0;
    will-change: transform, opacity;
}
.ax-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    /* tint the photos into the section's purple/blue neon palette */
    filter: saturate(1.15) contrast(1.05) brightness(0.82);
    mix-blend-mode: luminosity;
}
/* recolour overlay so the figures glow in the brand hues */
.ax-photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(150deg, rgba(124, 61, 166, 0.55), rgba(61, 110, 245, 0.35) 60%, transparent);
    mix-blend-mode: color;
}
/* full-height side panels — photos run behind BOTH the letters band and the
   activate stage (top + bottom pairs overlap in the middle for continuous cover),
   fading toward the centre column so the letters & headline stay clean */
.ax-photo.p1 { top: -3%; left: -3%; width: 38%; height: 64%;
    -webkit-mask: radial-gradient(145% 150% at 6% 16%, #000 22%, transparent 82%);
    mask: radial-gradient(145% 150% at 6% 16%, #000 22%, transparent 82%); }
.ax-photo.p2 { top: -3%; right: -3%; width: 36%; height: 64%;
    -webkit-mask: radial-gradient(145% 150% at 94% 16%, #000 22%, transparent 82%);
    mask: radial-gradient(145% 150% at 94% 16%, #000 22%, transparent 82%); }
.ax-photo.p3 { bottom: -3%; left: -2%; width: 36%; height: 64%;
    -webkit-mask: radial-gradient(145% 150% at 6% 84%, #000 22%, transparent 82%);
    mask: radial-gradient(145% 150% at 6% 84%, #000 22%, transparent 82%); }
.ax-photo.p4 { bottom: -3%; right: -3%; width: 40%; height: 64%;
    -webkit-mask: radial-gradient(145% 150% at 94% 84%, #000 22%, transparent 82%);
    mask: radial-gradient(145% 150% at 94% 84%, #000 22%, transparent 82%); }
/* drift in + slow ken-burns so they feel alive behind the scene */
.ax-photo.p1 { animation: axPhotoIn 1.4s ease 0.15s forwards, axKen1 26s ease-in-out 1.6s infinite; }
.ax-photo.p2 { animation: axPhotoIn 1.4s ease 0.30s forwards, axKen2 30s ease-in-out 1.7s infinite; }
.ax-photo.p3 { animation: axPhotoIn 1.4s ease 0.45s forwards, axKen2 28s ease-in-out 1.9s infinite; }
.ax-photo.p4 { animation: axPhotoIn 1.4s ease 0.60s forwards, axKen1 32s ease-in-out 2.0s infinite; }
@keyframes axPhotoIn { to { opacity: 0.5; } }
@keyframes axKen1 { 0%,100% { transform: scale(1.06) translate(0,0); } 50% { transform: scale(1.14) translate(-1.5%, 1.5%); } }
@keyframes axKen2 { 0%,100% { transform: scale(1.08) translate(0,0); } 50% { transform: scale(1.15) translate(1.5%, -1.2%); } }
/* once activated, the gym lights up a touch brighter */
.ax-stage.revealing .ax-photo { animation-play-state: running; }
.ax-stage.revealing .ax-photo img { filter: saturate(1.3) contrast(1.08) brightness(0.95); transition: filter 1.2s ease; }

/* --- background layers --- */
.ax-grid {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(201, 162, 75, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 75, 0.06) 1px, transparent 1px);
    background-size: 58px 58px;
    -webkit-mask: radial-gradient(circle at 50% 44%, #000 0%, transparent 72%);
    mask: radial-gradient(circle at 50% 44%, #000 0%, transparent 72%);
    animation: axGrid 14s linear infinite;
}
@keyframes axGrid { to { background-position: 58px 58px, 58px 58px; } }

.ax-aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ax-aurora .ax-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.ax-aurora .b1 { width: 460px; height: 460px; top: -10%; left: -8%; background: radial-gradient(circle, #5A2E73, transparent 70%); animation: axDrift 18s ease-in-out infinite; }
.ax-aurora .b2 { width: 520px; height: 520px; bottom: -15%; right: -10%; background: radial-gradient(circle, #3D6EF5, transparent 70%); animation: axDrift 22s ease-in-out infinite reverse; }
.ax-aurora .b3 { width: 380px; height: 380px; top: 20%; right: 30%; background: radial-gradient(circle, #C9A24B, transparent 70%); opacity: 0.22; animation: axDrift 26s ease-in-out infinite; }
@keyframes axDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.12); }
    66% { transform: translate(-50px, 35px) scale(0.92); }
}

.ax-scan { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ax-scan::after {
    content: ''; position: absolute; left: 0; right: 0; height: 140px;
    background: linear-gradient(transparent, rgba(124, 61, 166, 0.16), transparent);
    animation: axScan 5.5s linear infinite;
}
@keyframes axScan { from { top: -140px; } to { top: 100%; } }

.ax-particles { position: absolute; inset: 0; z-index: 18; pointer-events: none; }
.ax-particle {
    position: absolute; top: 50%; left: 50%;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gold-bright); box-shadow: 0 0 10px var(--gold-bright);
}
.ax-particle.c { background: #7aa2ff; box-shadow: 0 0 10px #7aa2ff; }
.ax-particle.a { background: #b07bff; box-shadow: 0 0 10px #b07bff; }

/* --- detonation layers --- */
.ax-flash { position: absolute; inset: 0; z-index: 40; background: #fff; opacity: 0; pointer-events: none; }
.ax-flash.fire { animation: axFlash 0.6s ease-out; }
@keyframes axFlash { 0% { opacity: 0; } 8% { opacity: 0.85; } 100% { opacity: 0; } }

.ax-shock {
    position: absolute; top: 50%; left: 50%; z-index: 30;
    width: 44px; height: 44px; border-radius: 50%;
    border: 3px solid var(--gold-bright);
    transform: translate(-50%, -50%) scale(0); opacity: 0; pointer-events: none;
}
.ax-shock::after {
    content: ''; position: absolute; inset: 8px; border-radius: 50%;
    border: 2px solid rgba(61, 110, 245, 0.8);
}
.ax-shock.fire { animation: axShock 0.95s cubic-bezier(0.2, 0.7, 0.3, 1); }
@keyframes axShock {
    0% { opacity: 0.9; transform: translate(-50%, -50%) scale(0); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(42); }
}

/* --- PHASE 1: ACTIVATE button --- */
.ax-button {
    position: relative; z-index: 20;
    display: inline-flex; align-items: center; justify-content: center;
    padding: clamp(1.1rem, 3vw, 1.7rem) clamp(2.4rem, 7vw, 4.4rem);
    border-radius: 60px; cursor: pointer;
    border: 2px solid rgba(234, 199, 106, 0.55);
    background: linear-gradient(120deg, var(--color-primary), var(--color-accent));
    color: #fff; overflow: hidden;
    box-shadow: 0 0 34px rgba(124, 61, 166, 0.55), 0 18px 50px rgba(90, 46, 115, 0.5);
    animation: axPulse 2.2s ease-in-out infinite;
    transition: transform 0.15s ease;
}
.ax-btn-label {
    position: relative; z-index: 2;
    display: inline-flex; align-items: center; gap: 0.5em;
    font-family: 'Anton', sans-serif;
    font-size: clamp(2rem, 7vw, 3.8rem);
    letter-spacing: 4px; text-transform: uppercase;
}
.ax-power { opacity: 0.9; }
/* Arabic button label — match the headline's Arabic font, drop letter-spacing */
.ax-stage.is-ar .ax-btn-label {
    font-family: 'Hacen', sans-serif;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
}
@keyframes axPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(124, 61, 166, 0.5), 0 18px 50px rgba(90, 46, 115, 0.45); }
    50% { box-shadow: 0 0 64px rgba(124, 61, 166, 0.95), 0 18px 64px rgba(61, 110, 245, 0.6); }
}
.ax-button:hover { transform: translateY(-2px) scale(1.02); }
.ax-button.is-pressed { transform: scale(0.94); }

.ax-btn-charge {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, var(--gold-bright), #fff);
    transform: scaleX(0); transform-origin: left; opacity: 0;
    mix-blend-mode: overlay;
}
.ax-button.is-activated .ax-btn-charge { animation: axCharge 0.45s ease forwards; }
@keyframes axCharge {
    0% { transform: scaleX(0); opacity: 0.75; }
    100% { transform: scaleX(1); opacity: 0.95; }
}

.ax-btn-ring {
    position: absolute; inset: -2px; z-index: 1; border-radius: 60px;
    border: 2px solid var(--gold-bright); opacity: 0;
}
.ax-button.is-activated .ax-btn-ring { animation: axBtnRing 0.55s ease-out 2; }
@keyframes axBtnRing {
    0% { opacity: 0.85; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.45); }
}

.ax-button.is-gone { animation: axBoom 0.55s ease forwards; pointer-events: none; }
@keyframes axBoom {
    0% { transform: scale(1); }
    35% { transform: scale(1.14); filter: brightness(1.6); }
    100% { transform: scale(1.55); opacity: 0; filter: blur(10px) brightness(2); }
}

.ax-hint {
    position: absolute; bottom: 15%; left: 50%; transform: translateX(-50%);
    z-index: 20; color: #A99FBC; font-size: 0.78rem;
    letter-spacing: 3px; text-transform: uppercase;
    animation: axHintPulse 2.4s ease-in-out infinite;
    transition: opacity 0.4s ease;
}
@keyframes axHintPulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.8; } }
.ax-hint.is-gone,
.ax-stage.revealing .ax-hint { opacity: 0; animation: none; visibility: hidden; }

/* --- fake cursor --- */
.ax-cursor {
    position: absolute; top: 0; left: 0; z-index: 50;
    width: 26px; height: 26px; opacity: 0; pointer-events: none;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
    transition: left 0.42s cubic-bezier(0.4, 0, 0.1, 1), top 0.42s cubic-bezier(0.4, 0, 0.1, 1), opacity 0.25s ease;
}
.ax-cursor.show { opacity: 1; }
.ax-cursor svg { display: block; transition: transform 0.12s ease; }
.ax-cursor.click svg { transform: scale(0.78); }

.ax-click-ring {
    position: absolute; z-index: 49; width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid var(--gold-bright); pointer-events: none;
    transform: translate(-50%, -50%) scale(0.4);
    animation: axClickRing 0.55s ease-out forwards;
}
@keyframes axClickRing {
    0% { opacity: 0.9; transform: translate(-50%, -50%) scale(0.4); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3.4); }
}

/* --- PHASE 2: the BOOT sequence (the button's energy powers it up) --- */
.ax-reveal {
    position: absolute; inset: 0; z-index: 15;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 92px 20px 40px; text-align: center;
    opacity: 0; visibility: hidden;
}
.ax-stage.revealing .ax-reveal { opacity: 1; visibility: visible; }

/* energy core — what the button collapses into */
.ax-core {
    position: relative; width: 120px; height: 120px;
    display: grid; place-items: center;
    margin-bottom: clamp(0.6rem, 3vh, 1.6rem);
    opacity: 0; transform: scale(0);
}
.ax-stage.revealing .ax-core { animation: axCoreIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes axCoreIn {
    0% { opacity: 0; transform: scale(0); }
    60% { opacity: 1; transform: scale(1.18); }
    100% { opacity: 1; transform: scale(1); }
}
.ax-core-orb {
    width: 50px; height: 50px; border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #fff, var(--gold-bright) 42%, var(--color-primary) 100%);
    box-shadow: 0 0 28px var(--gold-bright), 0 0 66px rgba(124, 61, 166, 0.85);
}
.ax-stage.revealing .ax-core-orb { animation: axOrb 2.4s ease-in-out infinite; }
@keyframes axOrb {
    0%, 100% { transform: scale(1); box-shadow: 0 0 28px var(--gold-bright), 0 0 66px rgba(124, 61, 166, 0.7); }
    50% { transform: scale(1.14); box-shadow: 0 0 44px var(--gold-bright), 0 0 100px rgba(124, 61, 166, 0.95); }
}
.ax-core-ring { position: absolute; inset: 18px; border-radius: 50%; border: 2px solid rgba(234, 199, 106, 0.75); opacity: 0; }
.ax-stage.revealing .ax-core-ring { animation: axRing 2.6s ease-out infinite; }
.ax-stage.revealing .ax-core-ring.r2 { animation-delay: 1.3s; }
@keyframes axRing { 0% { opacity: 0.85; transform: scale(0.35); } 100% { opacity: 0; transform: scale(2.6); } }
.ax-core-scan {
    position: absolute; inset: -6px; border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(61, 110, 245, 0), rgba(61, 110, 245, 0.6) 25%, rgba(61, 110, 245, 0) 45%);
    -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%);
    mask: radial-gradient(circle, transparent 54%, #000 55%);
}
.ax-stage.revealing .ax-core-scan { animation: axSpin 2.6s linear infinite; }
@keyframes axSpin { to { transform: rotate(360deg); } }

/* boot content */
.ax-boot { display: flex; flex-direction: column; align-items: center; max-width: 760px; }

.ax-status {
    font-size: 0.72rem; letter-spacing: 5px; text-transform: uppercase;
    color: #36e08a; opacity: 0; margin-bottom: 0.4rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.ax-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #36e08a; box-shadow: 0 0 8px #36e08a; }
.ax-stage.revealing .ax-status { animation: axBlink 0.5s steps(1) 0.35s forwards, axFade 0.4s ease 0.35s forwards; }
@keyframes axBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes axFade { to { opacity: 1; } }

.ax-decode { display: flex; flex-direction: column; align-items: center; line-height: 0.84; margin: 0.2rem 0 1.1rem; }
.ax-decode span {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 11vw, 7.5rem);
    letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
    background: linear-gradient(110deg, #C9A24B 0%, #F6E8B8 50%, #C9A24B 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    text-shadow: 0 0 40px rgba(201, 162, 75, 0.25);
    opacity: 0;
}
.ax-decode .ax-decode-mid {
    font-size: clamp(1.1rem, 3.4vw, 2.1rem);
    letter-spacing: 0.5em; padding-left: 0.5em;
    margin: 0.1em 0; line-height: 1;
}
.ax-stage.revealing .ax-decode span { animation: axFade 0.3s ease forwards; }
.ax-stage.revealing .ax-decode span:nth-child(2) { animation-delay: 0.12s; }
.ax-stage.revealing .ax-decode span:nth-child(3) { animation-delay: 0.24s; }

/* Arabic variant — Anton can't render Arabic, and letter-spacing breaks
   Arabic letter-joining, so swap the font and reset spacing */
.ax-stage.is-ar .ax-decode { line-height: 1.05; }
.ax-stage.is-ar .ax-decode span {
    font-family: 'Hacen', sans-serif;
    font-weight: 700;
    letter-spacing: normal;
    font-size: clamp(2.8rem, 10vw, 6.8rem);
}

.ax-sub {
    color: #C9C0D6; font-size: clamp(0.95rem, 2vw, 1.18rem); letter-spacing: 0.4px;
    margin-bottom: 1.7rem; opacity: 0; transform: translateY(14px);
}
.ax-stage.revealing .ax-sub { animation: axUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.0s forwards; }
@keyframes axUp { to { opacity: 1; transform: none; } }

.ax-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-bottom: 2rem; }
.ax-chip {
    position: relative; padding-block: 0.55rem; padding-inline: 1.7rem 1.15rem;
    border-radius: 40px; border: 1px solid rgba(234, 199, 106, 0.35);
    background: rgba(255, 255, 255, 0.03); color: #E7DFF0;
    font-size: 0.86rem; letter-spacing: 0.4px;
    opacity: 0; transform: translateY(16px) scale(0.96);
}
.ax-chip::before {
    content: ''; position: absolute; inset-inline-start: 0.75rem; top: 50%;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--gold-bright); box-shadow: 0 0 9px var(--gold-bright);
    transform: translateY(-50%) scale(0);
}
.ax-stage.revealing .ax-chip { animation: axChip 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: calc(1.35s + var(--d) * 0.12s); }
.ax-stage.revealing .ax-chip::before { animation: axSpark 0.45s ease forwards; animation-delay: calc(1.45s + var(--d) * 0.12s); }
@keyframes axChip { to { opacity: 1; transform: none; } }
@keyframes axSpark { 0% { transform: translateY(-50%) scale(0); } 60% { transform: translateY(-50%) scale(1.7); } 100% { transform: translateY(-50%) scale(1); } }

/* CTA */
.ax-cta {
    position: relative; display: inline-flex; overflow: hidden;
    padding: 0.9rem 2.4rem; border-radius: 50px; font-weight: 700; letter-spacing: 0.5px;
    color: #fff; background: linear-gradient(120deg, var(--color-primary), var(--color-accent));
    box-shadow: 0 10px 30px rgba(90, 46, 115, 0.5);
    opacity: 0; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ax-stage.revealing .ax-cta { animation: axFade 0.6s ease 2.0s forwards; }
.ax-cta span { position: relative; z-index: 1; }
.ax-cta::after {
    content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg); transition: left 0.6s ease;
}
.ax-cta:hover::after { left: 130%; }
.ax-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(61, 110, 245, 0.55); }

@media (prefers-reduced-motion: reduce) {
    .ax-grid, .ax-aurora .ax-blob, .ax-scan::after, .ax-button, .ax-hint,
    .ax-core-orb, .ax-core-ring, .ax-core-scan { animation: none !important; }
    .ax-stage.revealing .ax-core,
    .ax-stage.revealing .ax-status,
    .ax-stage.revealing .ax-decode span,
    .ax-stage.revealing .ax-sub,
    .ax-stage.revealing .ax-chip,
    .ax-stage.revealing .ax-chip::before,
    .ax-stage.revealing .ax-cta {
        opacity: 1 !important; transform: none !important; animation: none !important;
    }
    .ax-photo { animation: none !important; opacity: 0.5 !important; transform: scale(1.06) !important; }
}

/* ==========================================================================
   Instagram reels — show only the video, crop out IG embed chrome & borders
   ========================================================================== */
.reels-section {
    position: relative;
    isolation: isolate;          /* keeps the blobs' screen-blend off the page behind */
    overflow: hidden;
    padding: clamp(56px, 8vw, 112px) 20px;
    text-align: center;
    background:
        radial-gradient(120% 80% at 50% -10%, #241539 0%, transparent 60%),
        radial-gradient(90% 70% at 50% 110%, #0e1730 0%, transparent 62%),
        linear-gradient(168deg, #150e1d 0%, #100b18 55%, #0c0812 100%);
}

/* --- animated backdrop layers (markup: .reels-bg > span) --------------- */
.reels-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.reels-bg > span { position: absolute; display: block; }

/* drifting amethyst / cobalt / gold light blobs */
.rb-blob {
    border-radius: 50%;
    filter: blur(90px);
    mix-blend-mode: screen;
    will-change: transform;
}
.rb-b1 {
    width: 56vw; height: 56vw; top: -20%; left: -16%;
    background: radial-gradient(circle, rgba(139, 68, 190, 0.78), transparent 70%);
    animation: rbDriftA 22s ease-in-out infinite;
}
.rb-b2 {
    width: 52vw; height: 52vw; bottom: -22%; right: -16%;
    background: radial-gradient(circle, rgba(61, 110, 245, 0.66), transparent 70%);
    animation: rbDriftB 28s ease-in-out infinite;
}
/* gold stays small, tight and high — a warm rim light, not a broad wash
   (a large gold blob under mix-blend screen goes brown over the amethyst) */
.rb-b3 {
    width: 20vw; height: 20vw; top: -6%; left: 62%;
    filter: blur(64px);
    background: radial-gradient(circle, rgba(232, 193, 90, 0.42), transparent 66%);
    animation: rbDriftC 34s ease-in-out infinite;
}
@keyframes rbDriftA { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(9vw, 6vw, 0) scale(1.18); } }
@keyframes rbDriftB { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-8vw, -6vw, 0) scale(1.14); } }
@keyframes rbDriftC { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-14vw, 4vw, 0) scale(1.25); } }

/* drifting dot mesh — full-bleed texture that still reads in the gaps
   between tiles (a perspective floor gets crushed at the horizon and is
   hidden behind the grid anyway) */
.rb-floor {
    inset: 0;
    overflow: hidden;
}
.rb-floor i {
    position: absolute;
    inset: -80px;
    background-image: radial-gradient(rgba(186, 150, 255, 0.5) 1.2px, transparent 1.3px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 0%, transparent 78%);
    mask-image: radial-gradient(120% 90% at 50% 40%, #000 0%, transparent 78%);
    opacity: 0.5;
    animation: rbMeshDrift 26s linear infinite;
    will-change: transform;
}
@keyframes rbMeshDrift { to { transform: translate3d(34px, 34px, 0); } }

/* thin light rails framing the top and bottom edges of the section */
.reels-section::before,
.reels-section::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    z-index: 1;
    background: linear-gradient(90deg, transparent, rgba(178, 138, 255, 0.55) 18%, rgba(232, 193, 90, 0.75) 50%, rgba(97, 140, 255, 0.55) 82%, transparent);
    background-size: 200% 100%;
    animation: rbRail 9s ease-in-out infinite;
}
.reels-section::before { top: 0; }
.reels-section::after  { bottom: 0; animation-direction: reverse; }
@keyframes rbRail {
    0%, 100% { background-position: 130% 0; }
    50%      { background-position: -30% 0; }
}

/* slow diagonal light sweep across the whole section */
.rb-sweep {
    top: -60%; bottom: -60%; width: 42%; left: -50%;
    background: linear-gradient(90deg, transparent, rgba(220, 200, 255, 0.09) 45%, rgba(255, 255, 255, 0.05) 55%, transparent);
    transform: rotate(14deg);
    filter: blur(14px);
    animation: rbSweep 11s ease-in-out infinite;
    will-change: transform;
}
@keyframes rbSweep {
    0%       { transform: translate3d(0, 0, 0) rotate(14deg); }
    55%, 100% { transform: translate3d(280%, 0, 0) rotate(14deg); }
}

/* fine film grain so the gradients never band */
.rb-grain {
    inset: 0;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: rbGrain 0.7s steps(1) infinite;
}
@keyframes rbGrain {
    0%   { transform: translate3d(0, 0, 0); }
    25%  { transform: translate3d(-3%, 2%, 0); }
    50%  { transform: translate3d(2%, -3%, 0); }
    75%  { transform: translate3d(-2%, -1%, 0); }
}

.reels-title, .reels-grid { position: relative; z-index: 1; }

.reels-title {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    letter-spacing: 1px;
    margin-bottom: clamp(28px, 4vw, 52px);
    /* cream → gold → cream sheen travelling through the type */
    color: var(--color-white);
    background: linear-gradient(100deg, #FFFFFF 20%, var(--gold-bright) 42%, #FFFFFF 64%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: reelsTitleSheen 7s ease-in-out infinite;
}
@keyframes reelsTitleSheen {
    0%, 100% { background-position: 130% 50%; }
    50%      { background-position: -30% 50%; }
}

/* flex (not grid) so a short final row centres instead of hugging the start */
.reels-grid {
    --reel-gap: clamp(8px, 0.9vw, 14px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--reel-gap);
    max-width: 1320px;
    margin: 0 auto;
}
.reel {
    position: relative;
    flex: 0 1 calc((100% - 4 * var(--reel-gap)) / 5);   /* 5 across */
    min-width: 0;
    /* match the reel video's 9:16 once it's scaled to fill the width */
    aspect-ratio: 9 / 16;
    overflow: hidden;            /* crops IG header, action bar AND the side letterbox bars */
    border-radius: 16px;
    background: #000;
    box-shadow: 0 0 16px rgba(124, 61, 166, 0.5), 0 0 38px rgba(61, 110, 245, 0.24);
    /* negative delay desyncs each tile so the row shimmers, never pulses in unison */
    animation: reelGlow 4.2s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * -0.42s);
    transition: box-shadow var(--transition-medium);
}
@keyframes reelGlow {
    0%, 100% { box-shadow: 0 0 14px rgba(124, 61, 166, 0.42), 0 0 30px rgba(61, 110, 245, 0.2); }
    50%      { box-shadow: 0 0 26px rgba(124, 61, 166, 0.78), 0 0 54px rgba(61, 110, 245, 0.4); }
}

/* rotating conic ring — degrades to a static gradient ring without @property */
@property --reel-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
.reel::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(from var(--reel-angle),
        rgba(124, 61, 166, 0.85), rgba(61, 110, 245, 0.9),
        rgba(201, 162, 75, 0.95), rgba(124, 61, 166, 0.85));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    animation: reelRing 6s linear infinite;
    animation-delay: calc(var(--i, 0) * -0.6s);
}
@keyframes reelRing { to { --reel-angle: 360deg; } }

/* specificity beats [data-reveal].in-view { transform: none } further down */
.reels-grid .reel:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(201, 162, 75, 0.55), 0 0 64px rgba(61, 110, 245, 0.45);
    animation-play-state: paused;
}
.reel iframe {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 0;
    /* scale wider than the box so the pillarboxed 9:16 video fills the
       width — the black side bars overflow and get cropped */
    width: 143%;
    top: -56px;            /* lift the profile header above the crop */
    height: calc(100% + 56px + 360px);  /* push the action bar below the crop */
}
/* 10 tiles: 5-up and 2-up divide evenly. 4-up leaves a centred pair, which
   reads fine; 3-up would leave a lone orphan, so that band drops the last
   reel to land on a clean 3 × 3. */
@media (max-width: 1180px) {
    .reel { flex-basis: calc((100% - 3 * var(--reel-gap)) / 4); }
}
@media (max-width: 900px) {
    .reels-grid { max-width: 900px; }
    .reel { flex-basis: calc((100% - 2 * var(--reel-gap)) / 3); }
    .reel:nth-child(10) { display: none; }
}
@media (max-width: 600px) {
    .reels-grid { max-width: 100%; }
    .reel { flex-basis: calc((100% - var(--reel-gap)) / 2); }
    .reel:nth-child(10) { display: block; }
    .rb-floor i { opacity: 0.3; }
}
@media (prefers-reduced-motion: reduce) {
    .reels-title, .reel, .reel::after,
    .reels-section::before, .reels-section::after,
    .rb-blob, .rb-floor i, .rb-sweep, .rb-grain { animation: none !important; }
    .reels-title { -webkit-text-fill-color: var(--color-white); }
    .reels-grid .reel:hover { transform: none; }
}

/* ==========================================================================
   Combined wrapper: REFIT letters + "Activate Your Senses"
   (transparent passthrough — groups both into one container, no visual change)
   ========================================================================== */
.refit-activate-wrap {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;   /* clip the aurora/photo bleed so the page can't scroll sideways */
    /* one even backdrop shared by the letters band + the activate stage —
       no bright centre / dark band, so both regions read identically */
    background: linear-gradient(180deg, #1b1330 0%, #181126 45%, #160F1E 72%, #130c1c 100%);
}

/* ==========================================================================
   Embedded REFIT letters animation
   ========================================================================== */
.refit-letters-section {
    position: relative;
    width: 100%;
    height: clamp(150px, 18vw, 380px); /* fits the letters band — no empty space */
    background: transparent; /* inherits the unified wrapper backdrop */
    overflow: hidden;
    pointer-events: none;
}
.refit-letters-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: auto;
}

/* ==========================================================================
   Trainers / Coaches page — premium neon cards
   ========================================================================== */
.trainers-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(120px, 16vw, 180px) 20px clamp(60px, 8vw, 90px);
    background: radial-gradient(120% 100% at 50% 0%, #241634 0%, #160F1E 55%, #0d0712 100%);
    isolation: isolate;
}
.trainers-hero-glow {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(50% 40% at 20% 20%, rgba(124, 61, 166, 0.5), transparent 70%),
        radial-gradient(46% 40% at 82% 30%, rgba(61, 110, 245, 0.4), transparent 70%),
        radial-gradient(40% 35% at 60% 90%, rgba(201, 162, 75, 0.22), transparent 70%);
    filter: blur(30px);
    animation: trainersGlow 16s ease-in-out infinite;
}
@keyframes trainersGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
    50% { transform: translate(2%, -2%) scale(1.08); opacity: 1; }
}
.trainers-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.82rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold-bright);
    padding: 7px 18px; margin-bottom: 1.1rem;
    border: 1px solid rgba(234, 199, 106, 0.4); border-radius: 30px;
    background: rgba(234, 199, 106, 0.07);
}
.trainers-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05;
    color: var(--color-white); margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(124, 61, 166, 0.4);
}
.trainers-sub {
    max-width: 640px; margin: 0 auto;
    color: #C7BCD6; font-size: clamp(1rem, 2.2vw, 1.2rem); line-height: 1.8; font-weight: 300;
}

.trainers-section {
    padding: clamp(48px, 7vw, 90px) 20px clamp(60px, 9vw, 110px);
    background: linear-gradient(180deg, #0d0712 0%, #140d1f 50%, #0d0712 100%);
}
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
    max-width: 1180px; margin: 0 auto;
}

.trainer-card {
    position: relative;
    display: flex; flex-direction: column;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(38, 24, 54, 0.75), rgba(18, 13, 26, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    backdrop-filter: blur(6px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease;
}
.trainer-card-glow {
    position: absolute; inset: -1px; z-index: 0; pointer-events: none; opacity: 0;
    background: radial-gradient(60% 50% at 50% 0%, var(--tc-glow, rgba(124, 61, 166, 0.55)), transparent 70%);
    transition: opacity 0.45s ease;
}
.trainer-card:hover {
    transform: translateY(-8px);
    border-color: var(--tc-border, rgba(180, 130, 255, 0.55));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--tc-glow, rgba(124, 61, 166, 0.35));
}
.trainer-card:hover .trainer-card-glow { opacity: 1; }

/* per-card accent palette */
.trainer-card.tg-1 { --tc-a: #7C3DA6; --tc-b: #C9A24B; --tc-glow: rgba(124, 61, 166, 0.5); --tc-border: rgba(180, 130, 255, 0.6); }
.trainer-card.tg-2 { --tc-a: #3D6EF5; --tc-b: #7C3DA6; --tc-glow: rgba(61, 110, 245, 0.5); --tc-border: rgba(120, 160, 255, 0.6); }
.trainer-card.tg-3 { --tc-a: #C9A24B; --tc-b: #E8567F; --tc-glow: rgba(232, 86, 127, 0.45); --tc-border: rgba(255, 150, 180, 0.55); }
.trainer-card.tg-4 { --tc-a: #5A2E73; --tc-b: #3D6EF5; --tc-glow: rgba(90, 46, 115, 0.55); --tc-border: rgba(160, 120, 220, 0.6); }

.trainer-card-top {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    padding: 26px 24px 0;
}
.trainer-avatar {
    position: relative;
    width: 92px; height: 92px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(145deg, var(--tc-a), var(--tc-b));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 2px 6px rgba(255, 255, 255, 0.25);
}
.trainer-avatar::after {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    border: 1.5px solid var(--tc-border, rgba(255, 255, 255, 0.3));
    opacity: 0.6;
}
.trainer-avatar span {
    font-family: var(--font-heading); font-weight: 700;
    font-size: 2.5rem; color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.trainer-exp {
    font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.5px; color: var(--gold-bright);
    padding: 6px 12px; border-radius: 30px;
    background: rgba(234, 199, 106, 0.1); border: 1px solid rgba(234, 199, 106, 0.28);
    white-space: nowrap;
}

.trainer-body { position: relative; z-index: 1; padding: 18px 24px 26px; }
.trainer-name {
    font-family: var(--font-heading); font-size: 1.5rem; color: #fff; margin-bottom: 0.25rem;
}
.trainer-role {
    color: var(--gold-bright); font-size: 0.9rem; font-weight: 500;
    margin-bottom: 1.1rem; letter-spacing: 0.3px;
}

.trainer-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.3rem; }
.trainer-chip {
    font-size: 0.78rem; color: #E3DAF0;
    padding: 6px 12px; border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.trainer-certs {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}
.trainer-certs-label {
    display: block; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
    color: #9A8FB0; margin-bottom: 0.6rem;
}
.trainer-certs ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.trainer-certs li {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.86rem; color: #D6CCE6;
}
.trainer-certs li svg { color: var(--gold-bright); flex-shrink: 0; }

.trainers-cta {
    text-align: center; margin: clamp(48px, 7vw, 80px) auto 0; max-width: 560px;
}
.trainers-cta p {
    color: #C7BCD6; font-size: clamp(1.1rem, 2.6vw, 1.5rem);
    margin-bottom: 1.6rem; font-weight: 300;
}

@media (prefers-reduced-motion: reduce) {
    .trainers-hero-glow { animation: none !important; }
}

/* ==========================================================================
   Pricing experience (membership.php) — "px-" namespace
   ========================================================================== */
.px-page {
    background: linear-gradient(180deg, #0d0712 0%, #120b1c 40%, #0d0712 100%);
    color: #EDE7F5;
}

/* ---- Hero ---- */
.px-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(130px, 17vw, 200px) 20px clamp(56px, 8vw, 90px);
    background: radial-gradient(120% 100% at 50% 0%, #241634 0%, #160F1E 55%, #0d0712 100%);
    isolation: isolate;
}
.px-hero-glow {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(48% 42% at 18% 24%, rgba(124, 61, 166, 0.55), transparent 70%),
        radial-gradient(44% 40% at 84% 28%, rgba(61, 110, 245, 0.38), transparent 70%),
        radial-gradient(40% 36% at 55% 95%, rgba(201, 162, 75, 0.25), transparent 70%);
    filter: blur(32px);
    animation: trainersGlow 15s ease-in-out infinite;
}
/* floating gradient orbs */
.px-orb {
    position: absolute; z-index: -1; border-radius: 50%;
    filter: blur(2px); opacity: 0.5; pointer-events: none;
    background: linear-gradient(145deg, rgba(124, 61, 166, 0.9), rgba(61, 110, 245, 0.4));
    animation: pxOrbFloat 11s ease-in-out infinite;
}
.px-orb.o1 { width: 90px;  height: 90px;  top: 24%;  inset-inline-start: 10%; }
.px-orb.o2 { width: 46px;  height: 46px;  top: 60%;  inset-inline-end: 14%;  animation-delay: -4s;
             background: linear-gradient(145deg, rgba(234, 199, 106, 0.85), rgba(201, 162, 75, 0.35)); }
.px-orb.o3 { width: 26px;  height: 26px;  top: 34%;  inset-inline-end: 26%;  animation-delay: -7s; }
@keyframes pxOrbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-26px) scale(1.08); }
}
.px-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.08;
    color: var(--color-white); margin-bottom: 1rem;
    text-shadow: 0 0 44px rgba(124, 61, 166, 0.45);
}
.px-hero-sub {
    max-width: 660px; margin: 0 auto;
    color: #C7BCD6; font-size: clamp(1rem, 2.2vw, 1.2rem); line-height: 1.85; font-weight: 300;
}

/* ---- Sticky in-page category nav ---- */
.px-nav {
    position: sticky; top: 0; z-index: 60;
    background: rgba(13, 7, 18, 0.78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.px-nav-track {
    display: flex; gap: 10px;
    max-width: 1180px; margin: 0 auto;
    padding: 12px 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.px-nav-track::-webkit-scrollbar { display: none; }
.px-nav-chip {
    display: inline-flex; align-items: center; gap: 7px;
    white-space: nowrap;
    font-size: 0.86rem; font-weight: 500; color: #C7BCD6;
    padding: 8px 16px; border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.px-nav-chip:hover { transform: translateY(-2px); color: #fff; border-color: rgba(234, 199, 106, 0.5); }
.px-nav-chip.active {
    color: #160F1E; font-weight: 700;
    background: linear-gradient(120deg, var(--gold-bright), #F3DFA0);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(234, 199, 106, 0.35);
}
.px-nav-emoji { font-size: 1rem; }

/* ---- Section scaffolding ---- */
.px-section {
    position: relative;
    padding: clamp(64px, 9vw, 110px) 20px;
    scroll-margin-top: 88px;
    isolation: isolate;
}
.px-section-head { text-align: center; max-width: 700px; margin: 0 auto clamp(36px, 5vw, 56px); }
.px-section-emoji {
    display: inline-grid; place-items: center;
    width: 64px; height: 64px; margin-bottom: 1.1rem;
    font-size: 1.9rem; border-radius: 20px;
    background: linear-gradient(145deg, rgba(124, 61, 166, 0.35), rgba(61, 110, 245, 0.18));
    border: 1px solid rgba(180, 130, 255, 0.35);
    box-shadow: 0 10px 34px rgba(90, 46, 115, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.px-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4.6vw, 3rem); color: #fff; margin-bottom: 0.8rem;
    text-shadow: 0 0 34px rgba(124, 61, 166, 0.35);
}
.px-section-sub {
    color: #BCB0CD; font-size: clamp(0.95rem, 2vw, 1.1rem); line-height: 1.85; font-weight: 300;
}

/* ---- Scroll reveal ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--ri, 0) * 90ms);
}
[data-reveal].in-view { opacity: 1; transform: none; }

/* ---- Shared card CTA pill ---- */
.px-card-cta {
    display: inline-block;
    margin-top: auto;
    padding: 10px 22px; border-radius: 30px;
    font-size: 0.88rem; font-weight: 600; text-align: center;
    color: #E3DAF0;
    border: 1px solid rgba(180, 130, 255, 0.45);
    background: rgba(124, 61, 166, 0.12);
    transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.px-card-cta:hover {
    transform: translateY(-2px);
    color: #fff;
    background: linear-gradient(120deg, #7C3DA6, #3D6EF5);
    box-shadow: 0 10px 28px rgba(90, 46, 115, 0.5);
}
.px-card-cta.flame { border-color: rgba(255, 140, 66, 0.5); background: rgba(255, 110, 60, 0.1); }
.px-card-cta.flame:hover { background: linear-gradient(120deg, #E8567F, #FF8C42); box-shadow: 0 10px 28px rgba(255, 120, 60, 0.4); }
.px-card-cta.aqua { border-color: rgba(95, 201, 234, 0.5); background: rgba(61, 158, 245, 0.1); }
.px-card-cta.aqua:hover { background: linear-gradient(120deg, #2D7FD8, #45C6E8); box-shadow: 0 10px 28px rgba(61, 158, 245, 0.4); }
.px-card-cta.leaf { border-color: rgba(124, 191, 107, 0.5); background: rgba(124, 191, 107, 0.1); }
.px-card-cta.leaf:hover { background: linear-gradient(120deg, #4E9D4A, #8FCB6B); box-shadow: 0 10px 28px rgba(124, 191, 107, 0.35); }
.px-card-cta.sand { border-color: rgba(234, 199, 106, 0.5); background: rgba(234, 199, 106, 0.1); }
.px-card-cta.sand:hover { background: linear-gradient(120deg, #C9A24B, #EAC76A); color: #160F1E; box-shadow: 0 10px 28px rgba(234, 199, 106, 0.4); }

/* ---- Small badges / flags ---- */
.px-mini-flag {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.5px;
    color: #fff; padding: 4px 12px; border-radius: 20px;
    background: linear-gradient(120deg, #7C3DA6, #3D6EF5);
    box-shadow: 0 6px 16px rgba(90, 46, 115, 0.5);
}
.px-mini-flag.gold {
    color: #160F1E;
    background: linear-gradient(120deg, var(--gold-bright), #F3DFA0);
    box-shadow: 0 6px 16px rgba(234, 199, 106, 0.4);
}

/* =================== 💜 Memberships — duration picker =================== */
.px-members {
    background:
        radial-gradient(60% 46% at 12% 8%, rgba(124, 61, 166, 0.18), transparent 70%),
        radial-gradient(50% 40% at 90% 90%, rgba(61, 110, 245, 0.12), transparent 70%);
}
.px-picker { max-width: 880px; margin: 0 auto; }
.px-pills {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    margin-bottom: 26px;
}
.px-pill {
    position: relative;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.92rem; font-weight: 600; color: #C7BCD6;
    padding: 11px 20px; border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.13);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.px-pill:hover { color: #fff; border-color: rgba(180, 130, 255, 0.6); transform: translateY(-2px); }
.px-pill.is-active {
    color: #fff;
    background: linear-gradient(120deg, #7C3DA6, #3D6EF5);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(90, 46, 115, 0.55), 0 0 0 1px rgba(180, 130, 255, 0.4);
    transform: translateY(-2px) scale(1.05);
}
.px-pill-star { color: var(--gold-bright); margin-inline-start: 5px; }

.px-display {
    position: relative;
    display: flex; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 56px);
    flex-wrap: wrap;
    padding: clamp(28px, 5vw, 48px);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(38, 24, 54, 0.8), rgba(18, 13, 26, 0.9));
    border: 1px solid rgba(180, 130, 255, 0.25);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.px-display-sheen {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.06) 48%, transparent 62%);
    background-size: 260% 100%;
    animation: pxSheen 5.5s ease-in-out infinite;
}
@keyframes pxSheen {
    0%, 55% { background-position: 130% 0; }
    100% { background-position: -130% 0; }
}

/* savings ring */
.px-ring-wrap { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.px-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.px-ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.px-ring-bg { stroke: rgba(255, 255, 255, 0.08); }
.px-ring-fg {
    stroke: url(#pxGoldGrad);
    stroke: var(--gold-bright);
    stroke-dasharray: 339.3;
    stroke-dashoffset: 88.2; /* 74% default */
    filter: drop-shadow(0 0 8px rgba(234, 199, 106, 0.55));
    transition: stroke-dashoffset 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.px-ring-label {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.px-ring-label strong {
    font-family: var(--font-heading); font-size: 1.9rem; color: var(--gold-bright); line-height: 1;
}
.px-ring-label span { font-size: 0.74rem; letter-spacing: 1.5px; text-transform: uppercase; color: #9A8FB0; margin-top: 4px; }

.px-display-main { text-align: center; }
.px-display-duration {
    display: inline-block;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 1px;
    color: #C9B8DF; padding: 6px 16px; margin-bottom: 8px;
    border-radius: 20px; border: 1px solid rgba(180, 130, 255, 0.35);
    background: rgba(124, 61, 166, 0.15);
}
.px-display-price {
    display: flex; align-items: baseline; justify-content: center; gap: 10px;
    margin: 4px 0 10px;
}
.px-display-num {
    font-family: var(--font-heading); font-weight: 700;
    font-size: clamp(3.4rem, 9vw, 5.4rem); line-height: 1; color: #fff;
    text-shadow: 0 0 40px rgba(124, 61, 166, 0.6);
    font-variant-numeric: tabular-nums;
}
.px-display-cur { font-size: 1.2rem; color: var(--gold-bright); font-weight: 600; }
.px-perday {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.9rem; color: #BCB0CD; margin-bottom: 20px;
}
.px-perday strong { color: #fff; font-weight: 700; }
.px-perday svg { color: var(--gold-bright); }
.px-display-cta { display: inline-block; }

/* all plans mini grid */
.px-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 14px;
    max-width: 1180px; margin: clamp(30px, 5vw, 48px) auto 0;
}
.px-mini {
    position: relative;
    cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-family: var(--font-body);
    padding: 22px 10px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(38, 24, 54, 0.6), rgba(18, 13, 26, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.px-mini:hover { transform: translateY(-5px); border-color: rgba(180, 130, 255, 0.55); }
.px-mini.is-active {
    border-color: var(--gold-bright);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 22px rgba(234, 199, 106, 0.22);
    transform: translateY(-5px);
}
.px-mini-label { font-size: 0.82rem; font-weight: 600; color: #C9B8DF; }
.px-mini-price {
    font-family: var(--font-heading); font-size: 1.55rem; font-weight: 700; color: #fff;
    font-variant-numeric: tabular-nums;
}
.px-mini-cur { font-size: 0.68rem; color: #9A8FB0; letter-spacing: 1px; }
.px-mini-save {
    margin-top: 8px;
    font-size: 0.7rem; font-weight: 700; color: var(--gold-bright);
    padding: 3px 10px; border-radius: 14px;
    background: rgba(234, 199, 106, 0.1); border: 1px solid rgba(234, 199, 106, 0.3);
}
.px-mini-save.neutral { color: #9A8FB0; background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }

/* ======================= 💪 Personal training ======================= */
.px-pt {
    background:
        radial-gradient(52% 40% at 88% 10%, rgba(61, 110, 245, 0.14), transparent 70%),
        radial-gradient(46% 42% at 8% 88%, rgba(124, 61, 166, 0.15), transparent 70%);
}
.px-pt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 18px;
    max-width: 1180px; margin: 0 auto;
}
.px-pt-card {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding: 30px 18px 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(38, 24, 54, 0.7), rgba(18, 13, 26, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease;
}
.px-pt-card:hover {
    transform: translateY(-8px);
    border-color: rgba(120, 160, 255, 0.55);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5), 0 0 26px rgba(61, 110, 245, 0.25);
}
.px-pt-card.is-best { border-color: rgba(234, 199, 106, 0.55); }
.px-pt-card.is-best:hover { box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5), 0 0 30px rgba(234, 199, 106, 0.3); }
.px-pt-sessions {
    font-family: var(--font-heading); font-weight: 700;
    font-size: 3.2rem; line-height: 1;
    background: linear-gradient(120deg, #B482FF, #6D9BFF);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    font-variant-numeric: tabular-nums;
}
.px-pt-card.is-best .px-pt-sessions { background: linear-gradient(120deg, var(--gold-bright), #F3DFA0); -webkit-background-clip: text; background-clip: text; }
.px-pt-sessions-label { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: #9A8FB0; margin: 4px 0 14px; }
.px-pt-price { font-family: var(--font-heading); font-size: 1.7rem; color: #fff; font-variant-numeric: tabular-nums; }
.px-pt-price small { font-size: 0.8rem; color: var(--gold-bright); font-family: var(--font-body); }
.px-pt-per {
    font-size: 0.78rem; color: #BCB0CD;
    margin: 6px 0 12px;
    padding: 4px 12px; border-radius: 14px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
}
/* per-session cost bar — shorter bar = better rate */
.px-pt-bar {
    width: 100%; height: 5px; border-radius: 4px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden; margin-bottom: 18px;
}
.px-pt-bar i {
    display: block; height: 100%; width: var(--w, 100%);
    border-radius: 4px;
    background: linear-gradient(90deg, #7C3DA6, #3D6EF5);
    transform: scaleX(0); transform-origin: var(--tx-origin, left);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}
[dir="rtl"] .px-pt-bar i { --tx-origin: right; }
.in-view .px-pt-bar i, .px-pt-card.in-view .px-pt-bar i { transform: scaleX(1); }

/* ======================== 🔥 60-day challenge ======================== */
.px-challenge {
    background:
        radial-gradient(60% 55% at 50% 110%, rgba(232, 86, 60, 0.16), transparent 70%),
        radial-gradient(45% 40% at 12% 6%, rgba(232, 86, 127, 0.12), transparent 70%),
        linear-gradient(180deg, #120b1c, #170a12);
    overflow: hidden;
}
.px-challenge .px-section-emoji {
    background: linear-gradient(145deg, rgba(232, 86, 60, 0.35), rgba(232, 86, 127, 0.18));
    border-color: rgba(255, 140, 100, 0.4);
    box-shadow: 0 10px 34px rgba(232, 86, 60, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
/* rising embers */
.px-embers { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.px-embers span {
    position: absolute;
    bottom: -10px;
    inset-inline-start: calc(4% + var(--e) * 8%);
    width: 5px; height: 5px; border-radius: 50%;
    background: radial-gradient(circle, #FFC46B 0%, #FF7E42 60%, transparent 75%);
    opacity: 0;
    animation: pxEmber calc(5.5s + var(--e) * 0.55s) linear infinite;
    animation-delay: calc(var(--e) * -1.15s);
}
.px-embers span:nth-child(odd) { width: 3px; height: 3px; }
@keyframes pxEmber {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    8%   { opacity: 0.85; }
    50%  { transform: translateY(-46vh) translateX(18px) scale(0.8); opacity: 0.55; }
    100% { transform: translateY(-92vh) translateX(-14px) scale(0.3); opacity: 0; }
}
.px-challenge-grid {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
    max-width: 1080px; margin: 0 auto;
}
.px-flame-card {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding: 34px 24px 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(46, 20, 26, 0.75), rgba(20, 10, 16, 0.9));
    border: 1px solid rgba(255, 130, 90, 0.28);
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease;
}
.px-flame-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 150, 100, 0.6);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 34px rgba(232, 96, 60, 0.3);
}
.px-flame-ring {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(70% 45% at 50% 0%, rgba(255, 126, 66, 0.16), transparent 70%);
    animation: pxFlamePulse 3.2s ease-in-out infinite;
}
@keyframes pxFlamePulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.px-gift {
    position: relative;
    font-size: 0.74rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    color: #160F1E;
    padding: 6px 16px; border-radius: 20px; margin-bottom: 16px;
    background: linear-gradient(120deg, #FFB35C, #FF7E42);
    box-shadow: 0 8px 22px rgba(255, 126, 66, 0.4);
}
.px-flame-card h3 {
    position: relative;
    font-family: var(--font-heading); font-size: 1.3rem; color: #fff; margin-bottom: 0.6rem; line-height: 1.4;
}
.px-flame-card p {
    position: relative;
    font-size: 0.88rem; color: #D8C4C4; font-weight: 300; line-height: 1.75; margin-bottom: 1.2rem;
}
.px-flame-price {
    position: relative;
    font-family: var(--font-heading); font-size: 2.3rem; color: #fff;
    margin-bottom: 1.2rem; font-variant-numeric: tabular-nums;
    text-shadow: 0 0 26px rgba(255, 126, 66, 0.5);
}
.px-flame-price small { font-size: 0.9rem; color: #FFB35C; font-family: var(--font-body); }

/* =========================== 🏊 Swimming =========================== */
.px-swim {
    background:
        radial-gradient(60% 50% at 50% 0%, rgba(45, 127, 216, 0.16), transparent 70%),
        radial-gradient(50% 45% at 85% 95%, rgba(69, 198, 232, 0.1), transparent 70%),
        linear-gradient(180deg, #0a1220, #0d0f1c);
    padding-top: clamp(90px, 11vw, 140px);
}
.px-swim .px-section-emoji {
    background: linear-gradient(145deg, rgba(45, 127, 216, 0.35), rgba(69, 198, 232, 0.18));
    border-color: rgba(110, 190, 245, 0.4);
    box-shadow: 0 10px 34px rgba(45, 127, 216, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.px-wave {
    position: absolute; left: 0; right: 0; height: 70px; pointer-events: none;
}
.px-wave.top { top: -1px; }
.px-wave svg { width: 100%; height: 100%; display: block; }
.px-wave path { fill: #170a12; /* blends out of the challenge section above */ }
.px-wave.top svg { animation: pxWaveBob 7s ease-in-out infinite; }
@keyframes pxWaveBob {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50% { transform: translateY(7px) scaleY(1.12); }
}
.px-swim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    max-width: 1120px; margin: 0 auto;
}
.px-swim-card {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding: 30px 20px 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(20, 40, 66, 0.65), rgba(12, 18, 32, 0.85));
    border: 1px solid rgba(110, 190, 245, 0.22);
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease;
}
.px-swim-card:hover {
    transform: translateY(-8px);
    border-color: rgba(110, 190, 245, 0.55);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5), 0 0 30px rgba(45, 127, 216, 0.3);
}
.px-swim-tag {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
    color: #9BDCF5;
    padding: 5px 14px; border-radius: 16px; margin-bottom: 14px;
    background: rgba(69, 198, 232, 0.1); border: 1px solid rgba(69, 198, 232, 0.32);
}
.px-swim-card h3 {
    font-family: var(--font-heading); font-size: 1.2rem; color: #fff; margin-bottom: 0.9rem; line-height: 1.45;
}
.px-swim-price {
    font-family: var(--font-heading); font-size: 2.1rem; color: #fff;
    margin-bottom: 1.1rem; font-variant-numeric: tabular-nums;
    text-shadow: 0 0 24px rgba(69, 198, 232, 0.45);
}
.px-swim-price small { font-size: 0.85rem; color: #6EBEF5; font-family: var(--font-body); }
/* expanding ripple behind the price on hover */
.px-swim-ripple {
    position: absolute; top: 52%; left: 50%;
    width: 10px; height: 10px; border-radius: 50%;
    pointer-events: none; opacity: 0;
    border: 1.5px solid rgba(110, 190, 245, 0.6);
    transform: translate(-50%, -50%);
}
.px-swim-card:hover .px-swim-ripple { animation: pxRipple 1.3s ease-out infinite; }
@keyframes pxRipple {
    0% { opacity: 0.8; width: 10px; height: 10px; }
    100% { opacity: 0; width: 190px; height: 190px; }
}

/* =========================== 🥗 Nutrition =========================== */
.px-nutrition {
    background:
        radial-gradient(55% 45% at 12% 12%, rgba(124, 191, 107, 0.12), transparent 70%),
        radial-gradient(45% 40% at 90% 85%, rgba(201, 162, 75, 0.1), transparent 70%);
}
.px-nutrition .px-section-emoji {
    background: linear-gradient(145deg, rgba(124, 191, 107, 0.32), rgba(201, 162, 75, 0.16));
    border-color: rgba(160, 210, 130, 0.4);
    box-shadow: 0 10px 34px rgba(124, 191, 107, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.px-nutri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    max-width: 780px; margin: 0 auto;
}
.px-nutri-card {
    position: relative;
    display: flex; flex-direction: column;
    padding: 32px 26px 26px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(26, 40, 26, 0.55), rgba(15, 20, 15, 0.85));
    border: 1px solid rgba(140, 200, 120, 0.22);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease;
}
.px-nutri-card:hover {
    transform: translateY(-8px);
    border-color: rgba(160, 210, 130, 0.5);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5), 0 0 26px rgba(124, 191, 107, 0.22);
}
.px-nutri-card.is-plus { border-color: rgba(234, 199, 106, 0.45); }
.px-nutri-card h3 {
    font-family: var(--font-heading); font-size: 1.25rem; color: #fff;
    margin-bottom: 1.1rem; line-height: 1.5; text-align: center;
}
.px-nutri-price {
    font-family: var(--font-heading); font-size: 2.2rem; color: #fff; text-align: center;
    margin-bottom: 1.2rem; font-variant-numeric: tabular-nums;
}
.px-nutri-price small { font-size: 0.85rem; color: #A8D18F; font-family: var(--font-body); }
.px-nutri-card .px-card-cta { align-self: center; }

/* shared feature checklist */
.px-check-list {
    list-style: none; display: flex; flex-direction: column; gap: 9px;
    margin-bottom: 1.4rem;
}
.px-check-list li {
    display: flex; align-items: center; gap: 9px;
    font-size: 0.9rem; color: #D6CCE6; font-weight: 300;
}
.px-check-list li svg { color: var(--gold-bright); flex-shrink: 0; }
.px-nutri-card .px-check-list li svg { color: #A8D18F; }

/* ========================== 💃 Belly dance ========================== */
.px-dance { padding-top: clamp(40px, 6vw, 70px); }
.px-dance-card {
    position: relative;
    max-width: 820px; margin: 0 auto;
    padding: clamp(36px, 6vw, 60px) clamp(24px, 5vw, 56px);
    border-radius: 30px;
    background: linear-gradient(160deg, rgba(64, 30, 88, 0.8), rgba(22, 14, 30, 0.92));
    border: 1px solid rgba(200, 150, 255, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(124, 61, 166, 0.25);
    overflow: hidden;
    text-align: center;
}
.px-dance-shimmer {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(2px 2px at 18% 30%, rgba(255, 255, 255, 0.7), transparent 100%),
        radial-gradient(1.6px 1.6px at 72% 20%, rgba(234, 199, 106, 0.8), transparent 100%),
        radial-gradient(1.8px 1.8px at 86% 66%, rgba(255, 255, 255, 0.6), transparent 100%),
        radial-gradient(1.4px 1.4px at 30% 78%, rgba(234, 199, 106, 0.7), transparent 100%),
        radial-gradient(2px 2px at 55% 45%, rgba(255, 255, 255, 0.45), transparent 100%),
        linear-gradient(115deg, transparent 35%, rgba(234, 199, 106, 0.07) 50%, transparent 65%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 240% 100%;
    animation: pxDanceShimmer 6s ease-in-out infinite, pxTwinkle 3.4s ease-in-out infinite;
}
@keyframes pxDanceShimmer {
    0%, 45% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 130% 0; }
    100% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, -130% 0; }
}
@keyframes pxTwinkle { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.px-dance-content { position: relative; }
.px-dance .px-section-emoji {
    background: linear-gradient(145deg, rgba(232, 86, 127, 0.35), rgba(124, 61, 166, 0.22));
    border-color: rgba(255, 150, 190, 0.4);
}
.px-dance-rows { margin: 1.8rem 0; }
.px-dance-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    flex-wrap: wrap;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: start;
}
.px-dance-row:first-child { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.px-dance-row-title { font-size: 1.02rem; font-weight: 600; color: #F2EAFB; }
.px-dance-row-price {
    font-family: var(--font-heading); font-size: 1.5rem; color: var(--gold-bright);
    font-variant-numeric: tabular-nums;
}
.px-dance-row-price small { font-size: 0.8rem; font-family: var(--font-body); }
.px-dance-row-price.soft { font-family: var(--font-body); font-size: 0.9rem; color: #C9B8DF; font-weight: 500; }

/* ========================= 🏕️ Fitness safari ========================= */
.px-safari {
    background:
        radial-gradient(58% 48% at 50% 108%, rgba(201, 162, 75, 0.14), transparent 70%),
        radial-gradient(45% 40% at 8% 10%, rgba(124, 61, 166, 0.12), transparent 70%);
}
.px-safari .px-section-emoji {
    background: linear-gradient(145deg, rgba(201, 162, 75, 0.35), rgba(150, 110, 60, 0.18));
    border-color: rgba(234, 199, 106, 0.42);
    box-shadow: 0 10px 34px rgba(201, 162, 75, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.px-safari-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    max-width: 1020px; margin: 0 auto;
    align-items: stretch;
}
.px-safari-card {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding: 34px 24px 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(44, 34, 20, 0.6), rgba(20, 15, 10, 0.88));
    border: 1px solid rgba(234, 199, 106, 0.2);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease;
}
.px-safari-card:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 199, 106, 0.55);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(201, 162, 75, 0.28);
}
.px-safari-card.is-featured {
    border-color: rgba(234, 199, 106, 0.5);
    background: linear-gradient(180deg, rgba(58, 44, 24, 0.65), rgba(24, 18, 10, 0.9));
    transform: scale(1.03);
}
.px-safari-card.is-featured:hover { transform: scale(1.03) translateY(-8px); }
/* adventure level dots */
.px-safari-level { display: flex; gap: 6px; margin-bottom: 14px; }
.px-safari-level i {
    width: 10px; height: 10px; border-radius: 50%;
    background: linear-gradient(120deg, var(--gold-bright), #C9A24B);
    box-shadow: 0 0 10px rgba(234, 199, 106, 0.6);
}
.px-safari-card h3 { font-family: var(--font-heading); font-size: 1.4rem; color: #fff; margin-bottom: 0.3rem; }
.px-safari-dur {
    font-size: 0.8rem; font-weight: 600; color: #EAD9A8;
    padding: 4px 14px; border-radius: 16px; margin-bottom: 18px;
    background: rgba(234, 199, 106, 0.1); border: 1px solid rgba(234, 199, 106, 0.3);
}
.px-safari-card .px-check-list { align-items: center; }
.px-safari-card .px-check-list li svg { color: var(--gold-bright); }
.px-safari-price {
    font-family: var(--font-heading); font-size: 2.3rem; color: #fff;
    margin-bottom: 1.2rem; font-variant-numeric: tabular-nums;
    text-shadow: 0 0 26px rgba(234, 199, 106, 0.4);
}
.px-safari-price small { font-size: 0.9rem; color: var(--gold-bright); font-family: var(--font-body); }

/* =========================== Final CTA =========================== */
.px-final { padding: clamp(30px, 5vw, 60px) 20px clamp(80px, 10vw, 120px); }
.px-final-inner {
    max-width: 760px; margin: 0 auto;
    text-align: center;
    padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px);
    border-radius: 30px;
    background:
        radial-gradient(80% 100% at 50% 0%, rgba(124, 61, 166, 0.3), transparent 70%),
        linear-gradient(180deg, rgba(38, 24, 54, 0.85), rgba(18, 13, 26, 0.95));
    border: 1px solid rgba(180, 130, 255, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.px-final-inner h2 {
    font-family: var(--font-heading); font-size: clamp(1.7rem, 4vw, 2.5rem);
    color: #fff; margin-bottom: 0.8rem;
}
.px-final-inner p { color: #C7BCD6; font-weight: 300; line-height: 1.85; margin-bottom: 1.8rem; }
.px-wa { display: inline-flex; align-items: center; gap: 10px; }
.px-wa svg { flex-shrink: 0; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .px-display { flex-direction: column; gap: 20px; }
    .px-ring-wrap { width: 128px; height: 128px; }
    .px-mini-grid { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; }
    .px-pill { padding: 9px 15px; font-size: 0.84rem; }
    .px-dance-row { justify-content: center; text-align: center; }
    .px-safari-card.is-featured { transform: none; }
    .px-safari-card.is-featured:hover { transform: translateY(-8px); }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .px-hero-glow, .px-orb, .px-display-sheen, .px-embers span,
    .px-flame-ring, .px-wave.top svg, .px-dance-shimmer { animation: none !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .px-pt-bar i { transform: scaleX(1); transition: none; }
    .px-swim-card:hover .px-swim-ripple { animation: none; }
}

/* ==========================================================================
   Coaches page — class programs & special classes (additions)
   ========================================================================== */
.trainer-card.tg-5 { --tc-a: #E8567F; --tc-b: #7C3DA6; --tc-glow: rgba(232, 86, 127, 0.5); --tc-border: rgba(255, 140, 180, 0.6); }

.trainer-classes {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    margin-bottom: 1.1rem;
}
.trainer-classes-label {
    display: block; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
    color: #9A8FB0; margin-bottom: 0.6rem;
}
.trainer-class-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.trainer-class-chip {
    font-size: 0.74rem; color: #E3DAF0;
    padding: 5px 11px; border-radius: 30px;
    background: linear-gradient(120deg, rgba(124, 61, 166, 0.22), rgba(61, 110, 245, 0.14));
    border: 1px solid rgba(180, 130, 255, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.trainer-card:hover .trainer-class-chip { border-color: var(--tc-border); }
.trainer-class-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.trainer-class-chip.is-special {
    color: #160F1E; font-weight: 700;
    background: linear-gradient(120deg, var(--gold-bright), #F3DFA0);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(234, 199, 106, 0.35);
}
.trainer-class-chip.is-special::before { content: '★ '; font-size: 0.7em; vertical-align: 1px; }

/* ==========================================================================
   Classes page (classes.php) — interactive class wall, "cx-" namespace
   ========================================================================== */
.cx-page {
    background: linear-gradient(180deg, #0d0712 0%, #130c1e 45%, #0d0712 100%);
    color: #EDE7F5;
}

/* ---- Hero ---- */
.cx-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(130px, 17vw, 190px) 20px 0;
    background: radial-gradient(120% 100% at 50% 0%, #241634 0%, #160F1E 55%, #0d0712 100%);
    isolation: isolate;
}
.cx-hero-inner { position: relative; z-index: 1; }
/* giant outlined ghost word drifting behind the title */
.cx-hero-ghost {
    position: absolute;
    top: 46%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0; pointer-events: none; user-select: none;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(6rem, 22vw, 19rem);
    letter-spacing: 0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(180, 130, 255, 0.14);
    animation: cxGhost 12s ease-in-out infinite;
    white-space: nowrap;
}
@keyframes cxGhost {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -54%) scale(1.04); opacity: 1; }
}

/* stats strip */
.cx-stats {
    display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 40px);
    flex-wrap: wrap;
    margin: clamp(26px, 4vw, 40px) auto 0;
}
.cx-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cx-stat strong {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1; color: #fff;
    text-shadow: 0 0 30px rgba(124, 61, 166, 0.55);
    font-variant-numeric: tabular-nums;
}
.cx-stat > span { font-size: 0.82rem; color: #BCA9D4; font-weight: 300; }
.cx-stat strong span { font-size: inherit; }
.cx-stat-sep {
    width: 1px; height: 40px;
    background: linear-gradient(180deg, transparent, rgba(234, 199, 106, 0.5), transparent);
}

/* class-name marquee */
.cx-marquee {
    position: relative; z-index: 1;
    margin-top: clamp(34px, 5vw, 52px);
    padding: 14px 0;
    border-top: 1px solid rgba(234, 199, 106, 0.22);
    border-bottom: 1px solid rgba(234, 199, 106, 0.22);
    background: rgba(22, 15, 30, 0.6);
    overflow: hidden;
    /* transform-based animation is direction-agnostic; keep LTR flow inside */
    direction: ltr;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cx-marquee-track {
    display: inline-flex; align-items: center; gap: 26px;
    white-space: nowrap;
    animation: cxMarquee 46s linear infinite;
    will-change: transform;
}
.cx-marquee-track span {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
    color: rgba(237, 231, 245, 0.62);
}
.cx-marquee-track i { font-style: normal; font-size: 0.7rem; color: var(--gold-bright); }
@keyframes cxMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Filters ---- */
.cx-body { padding: clamp(40px, 6vw, 70px) 20px clamp(70px, 9vw, 110px); }
.cx-filters {
    position: sticky; top: 0; z-index: 60;
    display: flex; flex-wrap: nowrap; gap: 10px;
    max-width: 1180px; margin: 0 auto clamp(28px, 4vw, 44px);
    padding: 12px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    background: rgba(13, 7, 18, 0.82);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-radius: 0 0 18px 18px;
}
.cx-filters::-webkit-scrollbar { display: none; }
.cx-filter {
    display: inline-flex; align-items: center; gap: 8px;
    flex-shrink: 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.88rem; font-weight: 600; color: #C7BCD6;
    padding: 9px 16px; border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.13);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cx-filter:hover { color: #fff; transform: translateY(-2px); border-color: rgba(180, 130, 255, 0.55); }
.cx-filter.is-active {
    color: #fff;
    background: linear-gradient(120deg, #7C3DA6, #3D6EF5);
    border-color: transparent;
    box-shadow: 0 10px 26px rgba(90, 46, 115, 0.5);
}
.cx-filter.is-gold.is-active {
    color: #160F1E;
    background: linear-gradient(120deg, var(--gold-bright), #F3DFA0);
    box-shadow: 0 10px 26px rgba(234, 199, 106, 0.4);
}
.cx-filter-avatar {
    display: grid; place-items: center;
    width: 24px; height: 24px; border-radius: 50%;
    font-style: normal; font-size: 0.8rem; font-weight: 700; color: #fff;
    background: linear-gradient(145deg, var(--cf-a, #7C3DA6), var(--cf-b, #3D6EF5));
}
.cx-filter-count {
    font-style: normal; font-size: 0.68rem; font-weight: 700;
    color: #BCA9D4;
    padding: 2px 8px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}
.cx-filter.is-active .cx-filter-count { color: inherit; background: rgba(255, 255, 255, 0.2); }
.cx-filter.is-gold.is-active .cx-filter-count { background: rgba(22, 15, 30, 0.15); }

/* per-coach accent palette (shared by filter avatars & cards) */
.cf-raneem  { --cf-a: #C9A24B; --cf-b: #E8567F; --cf-glow: rgba(232, 86, 127, 0.4);  --cf-border: rgba(255, 150, 180, 0.5); }
.cf-malak   { --cf-a: #7C3DA6; --cf-b: #C9A24B; --cf-glow: rgba(124, 61, 166, 0.45); --cf-border: rgba(180, 130, 255, 0.55); }
.cf-shorouq { --cf-a: #3D6EF5; --cf-b: #7C3DA6; --cf-glow: rgba(61, 110, 245, 0.45); --cf-border: rgba(120, 160, 255, 0.55); }
.cf-balqis  { --cf-a: #5A2E73; --cf-b: #3D6EF5; --cf-glow: rgba(90, 46, 115, 0.5);   --cf-border: rgba(160, 120, 220, 0.55); }
.cf-laila   { --cf-a: #E8567F; --cf-b: #7C3DA6; --cf-glow: rgba(232, 86, 127, 0.45); --cf-border: rgba(255, 140, 180, 0.55); }

/* ---- Class wall ---- */
.cx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
    gap: 16px;
    max-width: 1180px; margin: 0 auto;
}
.cx-card {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding: 26px 14px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(38, 24, 54, 0.65), rgba(18, 13, 26, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.09);
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease,
                box-shadow 0.45s ease, opacity 0.3s ease;
}
.cx-card:hover {
    transform: translateY(-7px);
    border-color: var(--cf-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 26px var(--cf-glow);
}
.cx-card-glow {
    position: absolute; inset: -1px; z-index: 0; pointer-events: none; opacity: 0;
    background: radial-gradient(65% 55% at 50% 0%, var(--cf-glow), transparent 72%);
    transition: opacity 0.45s ease;
}
.cx-card:hover .cx-card-glow { opacity: 1; }

/* filter hide/show */
.cx-card.cx-hide { opacity: 0; transform: scale(0.82); pointer-events: none; }
.cx-card.cx-none { display: none; }

.cx-icon {
    position: relative; z-index: 1;
    display: grid; place-items: center;
    width: 58px; height: 58px; margin-bottom: 12px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, var(--cf-a), var(--cf-b));
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), inset 0 1.5px 4px rgba(255, 255, 255, 0.3);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cx-icon svg { width: 30px; height: 30px; }
.cx-card:hover .cx-icon { transform: translateY(-3px) rotate(-6deg) scale(1.08); }

.cx-name {
    position: relative; z-index: 1;
    font-family: var(--font-heading);
    font-size: 1.06rem; line-height: 1.35; color: #fff;
    margin-bottom: 1px;
}
.cx-name-sub {
    position: relative; z-index: 1;
    min-height: 1.05em;
    font-size: 0.68rem; letter-spacing: 1.5px; text-transform: uppercase;
    color: #9A8FB0;
    margin-bottom: 12px;
}
.cx-coach {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; gap: 7px;
    margin-top: auto;
    font-size: 0.74rem; font-weight: 600; color: #C9B8DF;
    padding: 5px 11px 5px 6px; border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
[dir="rtl"] .cx-coach { padding: 5px 6px 5px 11px; }
.cx-coach i {
    display: grid; place-items: center;
    width: 20px; height: 20px; border-radius: 50%;
    font-style: normal; font-size: 0.68rem; font-weight: 700; color: #fff;
    background: linear-gradient(145deg, var(--cf-a), var(--cf-b));
}

/* special classes — gold treatment + shimmer sweep */
.cx-card.is-special { border-color: rgba(234, 199, 106, 0.45); }
.cx-card.is-special::after {
    content: '';
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(115deg, transparent 32%, rgba(234, 199, 106, 0.12) 50%, transparent 68%);
    background-size: 240% 100%;
    animation: pxSheen 4.6s ease-in-out infinite;
}
.cx-card.is-special:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(234, 199, 106, 0.3);
}
.cx-star {
    position: absolute; top: 10px; inset-inline-end: 12px; z-index: 2;
    font-size: 0.95rem; line-height: 1;
    color: var(--gold-bright);
    text-shadow: 0 0 12px rgba(234, 199, 106, 0.8);
    animation: cxStarPulse 2.6s ease-in-out infinite;
}
@keyframes cxStarPulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.25); opacity: 1; }
}

.cx-empty {
    text-align: center; color: #9A8FB0; padding: 40px 0; font-size: 1rem;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .cx-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 11px; }
    .cx-card { padding: 20px 10px 14px; }
    .cx-icon { width: 48px; height: 48px; }
    .cx-icon svg { width: 25px; height: 25px; }
    .cx-name { font-size: 0.95rem; }
    .cx-stat-sep { height: 30px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .cx-hero-ghost, .cx-marquee-track, .cx-star, .cx-card.is-special::after { animation: none !important; }
    .cx-card, .cx-icon { transition: none; }
}

/* ==========================================================================
   Personal Training page (pt.php) — "pt-" namespace
   ========================================================================== */
.pt-page {
    background: linear-gradient(180deg, #0d0712 0%, #120b1c 45%, #0d0712 100%);
    color: #EDE7F5;
}

/* ---- Hero ---- */
.pt-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(130px, 16vw, 190px) 20px clamp(60px, 8vw, 100px);
    background: radial-gradient(120% 100% at 50% 0%, #241634 0%, #160F1E 55%, #0d0712 100%);
    isolation: isolate;
}
.pt-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(30px, 6vw, 70px);
    max-width: 1120px; margin: 0 auto;
}
.pt-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.08;
    color: var(--color-white);
    margin: 0.4rem 0 0.6rem;
    text-shadow: 0 0 44px rgba(124, 61, 166, 0.45);
}
/* rotating word line */
.pt-hero-rot {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3.4vw, 2.1rem);
    color: #C9B8DF;
    margin-bottom: 1.1rem;
    display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.pt-rot {
    display: inline-block;
    min-width: 5ch;
    color: var(--gold-bright);
    text-shadow: 0 0 26px rgba(234, 199, 106, 0.45);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.38s ease, filter 0.38s ease;
}
.pt-rot.is-out { transform: translateY(-14px); opacity: 0; filter: blur(5px); }
.pt-hero-sub {
    max-width: 520px;
    color: #C7BCD6; font-size: clamp(0.98rem, 2vw, 1.12rem); line-height: 1.85; font-weight: 300;
    margin-bottom: 1.6rem;
}
.pt-hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.pt-ghost-btn {
    display: inline-block;
    padding: 12px 26px; border-radius: 40px;
    font-weight: 600; font-size: 0.95rem; color: #E3DAF0;
    border: 1px solid rgba(180, 130, 255, 0.45);
    background: rgba(124, 61, 166, 0.1);
    transition: all 0.35s ease;
}
.pt-ghost-btn:hover {
    transform: translateY(-2px);
    border-color: var(--gold-bright); color: var(--gold-bright);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
.pt-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
/* the hero reuses .ax-chip visuals but must be visible immediately */
.pt-hero-chips .ax-chip { opacity: 1; transform: none; animation: none; }
.pt-hero-chips .ax-chip::before { transform: translateY(-50%) scale(1); animation: none; }

/* ---- 1:1 focus orb ---- */
.pt-orb-wrap { display: flex; justify-content: center; }
.pt-focus {
    position: relative;
    width: clamp(230px, 28vw, 320px);
    aspect-ratio: 1;
    display: grid; place-items: center;
}
/* slowly rotating dashed orbit */
.pt-focus-dash {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 1.5px dashed rgba(234, 199, 106, 0.45);
    animation: axSpin 22s linear infinite;
}
.pt-focus-dash::after {
    content: '';
    position: absolute; top: -5px; left: 50%;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 14px rgba(234, 199, 106, 0.9);
}
/* expanding pulse rings */
.pt-focus-ring {
    position: absolute; inset: 12%;
    border-radius: 50%;
    border: 1.5px solid rgba(180, 130, 255, 0.55);
    animation: axRing 3.2s ease-out infinite;
}
.pt-focus-ring.r2 { animation-delay: 1.6s; }
/* core orb */
.pt-focus-core {
    position: relative;
    width: 62%; aspect-ratio: 1;
    border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    background:
        radial-gradient(70% 70% at 30% 25%, rgba(255, 255, 255, 0.18), transparent 60%),
        linear-gradient(150deg, #7C3DA6, #3A1E52 60%, #221231);
    border: 1px solid rgba(180, 130, 255, 0.5);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 46px rgba(124, 61, 166, 0.45),
                inset 0 2px 10px rgba(255, 255, 255, 0.15);
    animation: pxOrbFloat 9s ease-in-out infinite;
}
.pt-focus-core strong {
    font-family: var(--font-heading); font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; color: #fff;
    text-shadow: 0 0 30px rgba(234, 199, 106, 0.5);
}
.pt-focus-core em {
    font-style: normal; font-size: 0.78rem; letter-spacing: 1px;
    color: #D9C9EE; font-weight: 300;
}
/* floating labels around the orb */
.pt-float-chip {
    position: absolute;
    font-size: 0.74rem; font-weight: 700; color: #160F1E;
    padding: 6px 14px; border-radius: 20px;
    background: linear-gradient(120deg, var(--gold-bright), #F3DFA0);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
    animation: pxOrbFloat 7s ease-in-out infinite;
    white-space: nowrap;
}
.pt-float-chip.fc1 { top: 6%;  inset-inline-end: -6%; animation-delay: -1.5s; }
.pt-float-chip.fc2 { bottom: 16%; inset-inline-start: -12%; animation-delay: -3.5s;
                     color: #fff; background: linear-gradient(120deg, #7C3DA6, #3D6EF5); }
.pt-float-chip.fc3 { bottom: -3%; inset-inline-end: 10%; animation-delay: -5.5s;
                     color: #fff; background: linear-gradient(120deg, #E8567F, #7C3DA6); }

/* ---- Journey timeline ---- */
.pt-journey {
    position: relative;
    max-width: 880px; margin: 0 auto;
    padding: 10px 0 4px;
}
.pt-line {
    position: absolute;
    top: 0; bottom: 0;
    inset-inline-start: calc(50% - 1.5px);
    width: 3px; border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.pt-line i {
    position: absolute; inset: 0;
    display: block;
    background: linear-gradient(180deg, var(--gold-bright), #7C3DA6 55%, #3D6EF5);
    box-shadow: 0 0 14px rgba(234, 199, 106, 0.5);
    transform: scaleY(var(--p, 0));
    transform-origin: top;
    transition: transform 0.15s linear;
}
.pt-step {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    align-items: center;
    margin-bottom: clamp(26px, 4vw, 44px);
}
.pt-step:last-child { margin-bottom: 0; }
.pt-step .pt-step-card { grid-column: 1; }
.pt-step.alt .pt-step-card { grid-column: 3; }
.pt-dot {
    grid-column: 2; grid-row: 1;
    justify-self: center;
    position: relative; z-index: 1;
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(145deg, #7C3DA6, #3D6EF5);
    border: 2px solid rgba(234, 199, 106, 0.6);
    box-shadow: 0 0 0 6px rgba(124, 61, 166, 0.18), 0 10px 24px rgba(0, 0, 0, 0.5);
}
.pt-dot i {
    font-style: normal;
    font-family: var(--font-heading); font-weight: 700;
    font-size: 1.05rem; color: #fff;
}
.pt-step-card {
    position: relative;
    padding: 22px 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(38, 24, 54, 0.7), rgba(18, 13, 26, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease,
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.pt-step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(180, 130, 255, 0.55);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5), 0 0 24px rgba(124, 61, 166, 0.3);
}
.pt-week {
    display: inline-block;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
    color: var(--gold-bright);
    padding: 4px 12px; border-radius: 14px; margin-bottom: 10px;
    background: rgba(234, 199, 106, 0.1); border: 1px solid rgba(234, 199, 106, 0.3);
}
.pt-step-card h3 { font-family: var(--font-heading); font-size: 1.25rem; color: #fff; margin-bottom: 0.4rem; }
.pt-step-card p { font-size: 0.9rem; color: #C7BCD6; font-weight: 300; line-height: 1.8; }

/* ---- Why 1:1 ---- */
.pt-why {
    background:
        radial-gradient(52% 42% at 90% 8%, rgba(61, 110, 245, 0.13), transparent 70%),
        radial-gradient(46% 40% at 6% 90%, rgba(124, 61, 166, 0.14), transparent 70%);
}
.pt-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    max-width: 1080px; margin: 0 auto;
}
.pt-why-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding: 30px 22px 26px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(38, 24, 54, 0.65), rgba(18, 13, 26, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease,
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.pt-why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(180, 130, 255, 0.55);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5), 0 0 26px rgba(124, 61, 166, 0.28);
}
.pt-why-icon {
    display: grid; place-items: center;
    width: 60px; height: 60px; margin-bottom: 16px;
    border-radius: 19px;
    color: #fff;
    background: linear-gradient(145deg, #7C3DA6, #3D6EF5);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1.5px 4px rgba(255, 255, 255, 0.3);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pt-why-icon svg { width: 30px; height: 30px; }
.pt-why-card:hover .pt-why-icon { transform: translateY(-4px) rotate(6deg) scale(1.08); }
.pt-why-card h3 { font-family: var(--font-heading); font-size: 1.2rem; color: #fff; margin-bottom: 0.5rem; }
.pt-why-card p { font-size: 0.88rem; color: #C7BCD6; font-weight: 300; line-height: 1.8; }

/* ---- packs footnote ---- */
.pt-offer-note {
    text-align: center;
    max-width: 700px;
    margin: clamp(26px, 4vw, 40px) auto 0;
    font-size: 0.95rem; color: #D8C4C4; font-weight: 300; line-height: 1.9;
    padding: 14px 22px; border-radius: 18px;
    background: rgba(232, 96, 60, 0.07);
    border: 1px solid rgba(255, 130, 90, 0.25);
}
.pt-offer-note a {
    color: #FFB35C; font-weight: 700;
    border-bottom: 1px dashed rgba(255, 179, 92, 0.5);
    transition: color 0.3s ease, border-color 0.3s ease;
}
.pt-offer-note a:hover { color: var(--gold-bright); border-color: var(--gold-bright); }

/* ---- Coaches strip ---- */
.pt-coaches { padding-top: 0; }
.pt-coach-strip {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
    max-width: 900px; margin: 0 auto;
}
.pt-coach-chip {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px 8px 9px; border-radius: 40px;
    font-size: 0.92rem; font-weight: 600; color: #E3DAF0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
[dir="rtl"] .pt-coach-chip { padding: 8px 9px 8px 18px; }
.pt-coach-chip:hover {
    transform: translateY(-4px);
    border-color: var(--cf-border, rgba(180, 130, 255, 0.55));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 20px var(--cf-glow, rgba(124, 61, 166, 0.35));
}
.pt-coach-chip i {
    display: grid; place-items: center;
    width: 34px; height: 34px; border-radius: 50%;
    font-style: normal; font-weight: 700; color: #fff;
    background: linear-gradient(145deg, var(--cf-a, #7C3DA6), var(--cf-b, #3D6EF5));
    box-shadow: inset 0 1.5px 4px rgba(255, 255, 255, 0.3);
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
    .pt-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .pt-hero-rot, .pt-hero-ctas, .pt-hero-chips { justify-content: center; }
    .pt-hero-sub { margin-inline: auto; }
    .pt-orb-wrap { order: -1; }
    .pt-focus { width: clamp(200px, 46vw, 260px); }
}
@media (max-width: 640px) {
    .pt-line { inset-inline-start: 19px; }
    .pt-step, .pt-step.alt { grid-template-columns: 40px 1fr; }
    .pt-step .pt-step-card, .pt-step.alt .pt-step-card { grid-column: 2; }
    .pt-dot { grid-column: 1; width: 34px; height: 34px; justify-self: start; }
    .pt-dot i { font-size: 0.9rem; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .pt-focus-dash, .pt-focus-ring, .pt-focus-core, .pt-float-chip { animation: none !important; }
    .pt-rot { transition: none; }
    .pt-line i { transform: scaleY(1); transition: none; }
}

/* ==========================================================================
   Contact page (contact.php) — "ct-" namespace
   ========================================================================== */
.ct-page {
    background: linear-gradient(180deg, #0d0712 0%, #120b1c 45%, #0d0712 100%);
    color: #EDE7F5;
}

/* ---- Hero ---- */
.ct-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(130px, 17vw, 195px) 20px clamp(40px, 6vw, 70px);
    background: radial-gradient(120% 100% at 50% 0%, #241634 0%, #160F1E 55%, #0d0712 100%);
    isolation: isolate;
}
.ct-hero-inner { position: relative; z-index: 1; }
.ct-hero-ghost {
    position: absolute;
    top: 48%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0; pointer-events: none; user-select: none;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(6rem, 24vw, 20rem);
    letter-spacing: 0.06em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(180, 130, 255, 0.13);
    animation: cxGhost 13s ease-in-out infinite;
    white-space: nowrap;
}

/* live open-now status */
.ct-status {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: clamp(22px, 3.5vw, 34px);
    padding: 10px 22px; border-radius: 40px;
    font-size: 0.92rem; color: #C7BCD6;
    background: rgba(22, 15, 30, 0.7);
    border: 1px solid rgba(120, 220, 150, 0.28);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), 0 0 22px rgba(80, 200, 120, 0.12);
}
.ct-status strong { color: #7CE0A3; font-weight: 700; }
.ct-pulse {
    width: 10px; height: 10px; border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
    animation: ctPulse 2s ease-out infinite;
}
@keyframes ctPulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
    70% { box-shadow: 0 0 0 12px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.ct-status-sep { color: #6d6280; }
.ct-clock { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.ct-status-tz { font-size: 0.8rem; color: #9A8FB0; }

/* ---- Channel cards ---- */
.ct-channels { padding-top: clamp(30px, 4vw, 50px); }
.ct-channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 18px;
    max-width: 1120px; margin: 0 auto;
}
.ct-card {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding: 32px 20px 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(38, 24, 54, 0.65), rgba(18, 13, 26, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.09);
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease,
                box-shadow 0.45s ease, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.ct-card:hover {
    transform: translateY(-8px);
    border-color: var(--ch-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 30px var(--ch-glow);
}
.ct-card-glow {
    position: absolute; inset: -1px; z-index: 0; pointer-events: none; opacity: 0;
    background: radial-gradient(65% 55% at 50% 0%, var(--ch-glow), transparent 72%);
    transition: opacity 0.45s ease;
}
.ct-card:hover .ct-card-glow { opacity: 1; }

/* per-channel accents */
.ct-card.ch-wa     { --ch-a: #1FA855; --ch-b: #4ADE80; --ch-glow: rgba(74, 222, 128, 0.28);  --ch-border: rgba(120, 230, 160, 0.5); }
.ct-card.ch-ig     { --ch-a: #B0397F; --ch-b: #7C3DA6; --ch-glow: rgba(232, 86, 127, 0.3);   --ch-border: rgba(255, 140, 180, 0.5); }
.ct-card.ch-snap   { --ch-a: #B8960C; --ch-b: #EAC93B; --ch-glow: rgba(234, 201, 59, 0.3);   --ch-border: rgba(234, 201, 59, 0.5); }
.ct-card.ch-tiktok { --ch-a: #1E1E24; --ch-b: #3D6EF5; --ch-glow: rgba(61, 110, 245, 0.28);  --ch-border: rgba(150, 170, 255, 0.5); }
.ct-card.ch-map    { --ch-a: #C9A24B; --ch-b: #96703C; --ch-glow: rgba(234, 199, 106, 0.26); --ch-border: rgba(234, 199, 106, 0.5); }

.ct-icon {
    position: relative; z-index: 1;
    display: grid; place-items: center;
    width: 66px; height: 66px; margin-bottom: 16px;
    border-radius: 21px;
    color: #fff;
    background: linear-gradient(145deg, var(--ch-a), var(--ch-b));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), inset 0 1.5px 4px rgba(255, 255, 255, 0.3);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ct-icon svg { width: 32px; height: 32px; }
.ct-card:hover .ct-icon { transform: translateY(-4px) rotate(-6deg) scale(1.08); }
/* expanding ring behind the icon */
.ct-icon-ring {
    position: absolute; inset: 0;
    border-radius: 21px;
    border: 1.5px solid var(--ch-border);
    animation: ctIconRing 2.8s ease-out infinite;
}
@keyframes ctIconRing {
    0% { opacity: 0.9; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.7); }
}
.ct-card h3 {
    position: relative; z-index: 1;
    font-family: var(--font-heading); font-size: 1.25rem; color: #fff; margin-bottom: 0.3rem;
}
.ct-value {
    position: relative; z-index: 1;
    font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem;
    font-variant-numeric: tabular-nums;
}
.ct-note {
    position: relative; z-index: 1;
    font-size: 0.82rem; color: #A99CBD; font-weight: 300; line-height: 1.7; margin-bottom: 1.1rem;
}
.ct-cta {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; gap: 7px;
    margin-top: auto;
    font-size: 0.86rem; font-weight: 700;
    color: var(--ch-border);
    transition: gap 0.3s ease;
}
.ct-card:hover .ct-cta { gap: 11px; }
[dir="rtl"] .ct-cta svg { transform: scaleX(-1); }

/* ---- Form + map split ---- */
.ct-split-section { padding-top: clamp(20px, 3vw, 40px); }
.ct-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 40px);
    max-width: 1120px; margin: 0 auto;
    align-items: stretch;
}
.ct-form-wrap {
    padding: clamp(28px, 4vw, 44px);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(38, 24, 54, 0.75), rgba(18, 13, 26, 0.9));
    border: 1px solid rgba(180, 130, 255, 0.25);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.ct-form-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: #fff; margin-bottom: 0.5rem;
}
.ct-form-sub { font-size: 0.92rem; color: #BCA9D4; font-weight: 300; line-height: 1.8; margin-bottom: 1.6rem; }

.ct-form { display: flex; flex-direction: column; gap: 18px; }
.ct-field { position: relative; }
.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.98rem; color: #fff;
    padding: 15px 16px 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    outline: none;
    transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    resize: vertical;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    border-color: var(--gold-bright);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(234, 199, 106, 0.16);
}
/* floating labels */
.ct-field label {
    position: absolute;
    top: 15px; inset-inline-start: 16px;
    font-size: 0.95rem; color: #9A8FB0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    padding: 0 4px;
}
.ct-field input:focus ~ label,
.ct-field input:not(:placeholder-shown) ~ label,
.ct-field textarea:focus ~ label,
.ct-field textarea:not(:placeholder-shown) ~ label,
.ct-field select:focus ~ label,
.ct-field select:valid ~ label {
    top: -9px;
    font-size: 0.74rem;
    color: var(--gold-bright);
    background: #1d1329;
    border-radius: 6px;
}
.ct-select select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.ct-select-arrow {
    position: absolute; top: 18px; inset-inline-end: 16px;
    color: #9A8FB0; pointer-events: none;
}
.ct-field select option { background: #1d1329; color: #fff; }

.ct-send {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem; font-weight: 700; color: #08140c;
    padding: 15px 26px; border-radius: 40px;
    border: none;
    background: linear-gradient(120deg, #34D879, #7CE0A3);
    box-shadow: 0 14px 36px rgba(52, 216, 121, 0.3);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, filter 0.35s ease;
}
.ct-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 46px rgba(52, 216, 121, 0.4);
    filter: brightness(1.05);
}
.ct-send:active { transform: translateY(-1px) scale(0.99); }
.ct-form-msg { min-height: 1.2em; font-size: 0.84rem; color: #7CE0A3; text-align: center; }

/* ---- Map ---- */
.ct-map-wrap { display: flex; flex-direction: column; gap: 16px; }
.ct-map-frame {
    position: relative;
    flex: 1;
    min-height: 320px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(234, 199, 106, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.ct-map-frame iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%; border: 0;
    /* dark-mode the map to match the site */
    filter: invert(0.88) hue-rotate(185deg) saturate(0.55) brightness(0.92) contrast(0.95);
    transition: filter 0.6s ease;
}
.ct-map-frame:hover iframe { filter: none; }
/* designed fallback (revealed via .no-map when the embed can't load) */
.ct-map-fallback {
    position: absolute; inset: 0;
    display: none;
    background:
        radial-gradient(70% 60% at 50% 45%, rgba(124, 61, 166, 0.22), transparent 70%),
        linear-gradient(180deg, #171022, #100a18);
    overflow: hidden;
}
.ct-map-frame.no-map iframe { display: none; }
.ct-map-frame.no-map .ct-map-fallback { display: block; }
/* abstract street grid */
.ct-map-roads {
    position: absolute; inset: -20%;
    background:
        linear-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px),
        linear-gradient(rgba(234, 199, 106, 0.08) 3px, transparent 3px),
        linear-gradient(90deg, rgba(234, 199, 106, 0.08) 3px, transparent 3px);
    background-size: 42px 42px, 42px 42px, 210px 210px, 210px 210px;
    transform: rotate(-8deg);
}
/* sweeping radar pulse from the pin */
.ct-map-radar {
    position: absolute; top: 50%; left: 50%;
    width: 14px; height: 14px; border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 1.5px solid rgba(234, 199, 106, 0.65);
    animation: ctRadar 2.6s ease-out infinite;
}
@keyframes ctRadar {
    0% { opacity: 0.9; width: 14px; height: 14px; }
    100% { opacity: 0; width: 260px; height: 260px; }
}
.ct-map-tag {
    position: absolute; top: 16px; inset-inline-start: 16px;
    font-size: 0.78rem; font-weight: 700; color: #E3DAF0;
    padding: 7px 14px; border-radius: 20px;
    background: rgba(22, 15, 30, 0.85);
    border: 1px solid rgba(180, 130, 255, 0.35);
}
.ct-map-open {
    position: absolute; bottom: 16px; left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.84rem; font-weight: 700; color: #160F1E;
    padding: 9px 20px; border-radius: 30px;
    background: linear-gradient(120deg, var(--gold-bright), #F3DFA0);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}
.ct-map-fallback:hover .ct-map-open { transform: translateX(-50%) translateY(-3px); }
/* bouncing brand pin overlay */
.ct-map-pin {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -100%);
    color: var(--gold-bright);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
    animation: ctPin 2.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ctPin {
    0%, 100% { transform: translate(-50%, -100%); }
    50% { transform: translate(-50%, calc(-100% - 12px)); }
}
.ct-map-card {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    flex-wrap: wrap;
    padding: 18px 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(38, 24, 54, 0.7), rgba(18, 13, 26, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.09);
}
.ct-map-card h3 { font-family: var(--font-heading); font-size: 1.15rem; color: #fff; margin-bottom: 0.2rem; }
.ct-map-card p { font-size: 0.84rem; color: #BCA9D4; font-weight: 300; }
.ct-map-card .px-card-cta { margin-top: 0; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
    .ct-split { grid-template-columns: 1fr; }
    .ct-map-frame { min-height: 280px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .ct-hero-ghost, .ct-pulse, .ct-icon-ring, .ct-map-pin, .ct-map-radar { animation: none !important; }
    .ct-card, .ct-icon { transition: none; }
    .ct-map-frame iframe { filter: none; }
}

/* ==========================================================================
   About page (about.php) — "ab-" namespace
   Kinetic manifesto hero, parallax story stack, ticker stats, pillar rows
   ========================================================================== */

/* ---- Hero — kinetic manifesto ---- */
.ab-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: start;
    overflow: hidden;
    padding: clamp(150px, 22vh, 220px) clamp(1.4rem, 7vw, 6rem) clamp(120px, 16vh, 170px);
    background:
        radial-gradient(58% 60% at 50% 8%, rgba(90, 46, 115, 0.34), transparent 70%),
        radial-gradient(40% 45% at 82% 78%, rgba(61, 110, 245, 0.12), transparent 70%),
        var(--hero-bg);
}

.ab-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}
.ab-glow.g1 {
    width: 560px; height: 560px;
    top: -180px; inset-inline-start: -140px;
    background: radial-gradient(circle, rgba(124, 61, 166, 0.35), transparent 65%);
    animation: abGlowDrift 14s ease-in-out infinite;
}
.ab-glow.g2 {
    width: 460px; height: 460px;
    bottom: -160px; inset-inline-end: -120px;
    background: radial-gradient(circle, rgba(201, 162, 75, 0.16), transparent 65%);
    animation: abGlowDrift 18s ease-in-out -6s infinite reverse;
}
@keyframes abGlowDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(4%, -5%) scale(1.12); }
}

/* seamless blend into the story section below */
.ab-hero::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(180deg, transparent, var(--color-dark));
    pointer-events: none;
}

/* giant outline wordmark drifting behind the headline (JS parallax) */
.ab-watermark {
    position: absolute;
    inset-inline-end: -0.06em;
    bottom: -0.18em;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(7rem, 26vw, 24rem);
    line-height: 1;
    letter-spacing: 0.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(234, 199, 106, 0.14);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    will-change: transform;
}

.ab-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2px minmax(0, 1fr);
    gap: clamp(1.1rem, 3vw, 2.3rem);
    align-items: stretch;
}
.ab-hero-body { max-width: 46rem; }

/* gold rule that draws itself down beside the manifesto */
.ab-hero-rule {
    position: relative;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.09);
    overflow: hidden;
}
.ab-hero-rule i {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--gold-bright), rgba(201, 162, 75, 0.12));
    transform: scaleY(0);
    transform-origin: top;
    animation: abRuleDraw 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}
@keyframes abRuleDraw { to { transform: scaleY(1); } }

/* word-by-word masked rise */
.ab-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.9rem, 8.6vw, 7rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--color-white);
    margin: 0.5rem 0 1.5rem;
    text-wrap: balance;
}
/* Arabic needs more room between lines than the Latin cut */
[dir="rtl"] .ab-headline { line-height: 1.3; letter-spacing: 0; }
.ab-w {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding: 0.09em 0.06em 0.14em; /* room for Arabic ascenders/descenders inside the mask */
    margin: -0.09em -0.02em -0.14em;
}
.ab-wi {
    display: inline-block;
    transform: translateY(125%);
    filter: blur(5px);
    animation: abWordIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.35s + var(--wi) * 0.13s);
}
@keyframes abWordIn { to { transform: translateY(0); filter: blur(0); } }

/* the highlighted word gets gold ink and a sweeping underline */
.ab-gold { position: relative; color: var(--gold-bright); }
.ab-gold::after {
    content: '';
    position: absolute;
    inset-inline: 0.04em;
    bottom: 0.02em;
    height: 0.085em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(201, 162, 75, 0.15), var(--gold-bright) 45%, rgba(201, 162, 75, 0.15));
    transform: scaleX(0);
    transform-origin: center;
    animation: abUnderline 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.35s forwards;
}
@keyframes abUnderline { to { transform: scaleX(1); } }

/* generic staged fade for eyebrow / sub / chips / cue */
.ab-fade {
    opacity: 0;
    transform: translateY(18px);
    animation: abFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--fd, 0s);
}
@keyframes abFadeUp { to { opacity: 1; transform: translateY(0); } }

.ab-hero-sub {
    max-width: 52ch;
    margin: 0;
    color: #BCA9D4;
    font-size: clamp(1rem, 2.2vw, 1.22rem);
    font-weight: 300;
    line-height: 1.95;
}

/* the 24/7 claim, proven with a live Madinah clock instead of asserted */
.ab-live {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.9rem;
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(22, 15, 30, 0.55);
    border: 1px solid rgba(201, 162, 75, 0.3);
    backdrop-filter: blur(8px);
}
.ab-live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #57E0A8;
    box-shadow: 0 0 0 0 rgba(87, 224, 168, 0.6);
    animation: abLivePulse 2.4s ease-out infinite;
}
@keyframes abLivePulse {
    0%   { box-shadow: 0 0 0 0 rgba(87, 224, 168, 0.55); }
    70%  { box-shadow: 0 0 0 12px rgba(87, 224, 168, 0); }
    100% { box-shadow: 0 0 0 0 rgba(87, 224, 168, 0); }
}
.ab-live-label { font-size: 0.9rem; font-weight: 600; color: #E9DEF6; }
.ab-live-time {
    font-family: 'Playfair Display', serif;
    font-variant-numeric: tabular-nums;
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--gold-bright);
}
.ab-live-tz { font-size: 0.8rem; color: #A995BF; }

.ab-hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 1.6rem;
}
.ab-chip {
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 0.88rem;
    color: #E9DEF6;
    border: 1px solid rgba(180, 130, 255, 0.35);
    background: rgba(124, 61, 166, 0.14);
    backdrop-filter: blur(4px);
}

/* scroll cue */
.ab-scroll {
    position: absolute;
    bottom: 34px;
    inset-inline-start: clamp(1.4rem, 7vw, 6rem);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
}
.ab-scroll-pill {
    display: block;
    width: 25px; height: 42px;
    border: 1.5px solid rgba(234, 199, 106, 0.5);
    border-radius: 20px;
    position: relative;
}
.ab-scroll-dot {
    position: absolute;
    top: 7px; left: 50%;
    width: 5px; height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--gold-bright);
    animation: abScrollDot 1.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes abScrollDot {
    0%   { transform: translateY(0);    opacity: 0; }
    25%  { opacity: 1; }
    75%  { transform: translateY(18px); opacity: 0; }
    100% { transform: translateY(18px); opacity: 0; }
}
.ab-scroll-txt { font-size: 0.78rem; letter-spacing: 2px; color: #BCA9D4; }
.ab-scroll:hover .ab-scroll-txt { color: var(--gold-bright); }

/* ---- Page base: one continuous dark world ---- */
.ab-page { background-color: var(--color-dark); position: relative; }

/* film grain — the difference between "dark website" and "shot on film" */
.ab-grain {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.4;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* reading progress hairline */
.ab-progress {
    position: fixed;
    top: 0;
    inset-inline: 0;
    height: 2px;
    z-index: 999;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.06);
}
.ab-progress i {
    display: block;
    height: 100%;
    width: 100%;
    transform: scaleX(var(--p, 0));
    transform-origin: left;
    background: linear-gradient(90deg, var(--color-highlight), var(--gold-bright));
}
[dir="rtl"] .ab-progress i { transform-origin: right; }

/* ---- Shared eyebrow ---- */
.ab-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 1.1rem;
}
.ab-eyebrow::before {
    content: '';
    width: 36px; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-highlight), rgba(201, 162, 75, 0.2));
}
.ab-eyebrow-light { color: #F2FAF8; }
.ab-eyebrow-light::before { background: linear-gradient(90deg, #5FC9BA, rgba(95, 201, 186, 0.2)); }

/* ---- Story — editorial split with parallax photo stack ---- */
.ab-story {
    background: radial-gradient(45% 42% at 10% 18%, rgba(90, 46, 115, 0.22), transparent 70%);
    padding: clamp(5rem, 11vw, 8.5rem) 2rem;
}
.ab-story-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(3rem, 7vw, 6rem);
    align-items: start;
}
.ab-story-sticky { position: sticky; top: 130px; }

.ab-story-title {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.25;
    color: var(--color-white);
    margin-bottom: 1.8rem;
    text-shadow: 0 0 40px rgba(124, 61, 166, 0.4);
}
.ab-story-title em {
    font-style: normal;
    color: var(--gold-bright);
    background: linear-gradient(180deg, transparent 70%, rgba(201, 162, 75, 0.28) 70%);
}
.ab-story-p {
    max-width: 58ch;
    font-size: 1.06rem;
    font-weight: 300;
    line-height: 1.95;
    color: #BCA9D4;
    margin-bottom: 1.35rem;
}
.ab-story-cta { margin-top: 2.2rem; }

.ab-stack {
    position: relative;
    min-height: 600px;
}
.ab-ph {
    position: absolute;
    margin: 0;
    border-radius: 18px;
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.55);
    will-change: transform;
}
.ab-ph::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 162, 75, 0.55);
    border-radius: inherit;
    transform: translate(12px, 12px);
    z-index: -1;
}
.ab-ph img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.ab-ph { overflow: visible; }
.ab-ph img { overflow: hidden; }
.ab-ph:hover img { transform: scale(1.035); }

/* caption rides up from under the frame on hover */
.ab-ph-cap {
    position: absolute;
    inset-inline-start: 14px;
    bottom: 14px;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #F6F1E7;
    background: rgba(22, 15, 30, 0.82);
    border: 1px solid rgba(201, 162, 75, 0.4);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.ab-ph:hover .ab-ph-cap,
.ab-ph:focus-within .ab-ph-cap { opacity: 1; transform: translateY(0); }

.ab-ph.p1 { top: 0;      inset-inline-start: 0;   width: 58%; aspect-ratio: 4 / 5; z-index: 1; }
.ab-ph.p2 { top: 24%;    inset-inline-end: 0;     width: 46%; aspect-ratio: 3 / 4; z-index: 2; }
.ab-ph.p3 { bottom: 0;   inset-inline-start: 10%; width: 52%; aspect-ratio: 5 / 4; z-index: 1; }

.ab-stack-chip {
    position: absolute;
    top: 6%;
    inset-inline-end: 4%;
    z-index: 3;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #E9DEF6;
    background: rgba(22, 15, 30, 0.88);
    border: 1px solid rgba(201, 162, 75, 0.55);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    will-change: transform;
}

/* ---- Ticker + stats band ---- */
.ab-band {
    background:
        radial-gradient(50% 70% at 50% 100%, rgba(90, 46, 115, 0.25), transparent 70%),
        var(--color-dark);
    padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.ab-marquee {
    overflow: hidden;
    border-top: 1px solid rgba(201, 162, 75, 0.22);
    border-bottom: 1px solid rgba(201, 162, 75, 0.22);
    padding: 16px 0;
}
.ab-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: abMarquee 30s linear infinite;
}
.ab-marquee-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    color: #A995BF;
}
.ab-star {
    font-style: normal;
    color: var(--gold-bright);
    font-size: 0.8em;
    margin: 0 2.2rem;
}
@keyframes abMarquee { to { transform: translateX(-50%); } }
[dir="rtl"] .ab-marquee-track { animation-name: abMarqueeRtl; }
@keyframes abMarqueeRtl { to { transform: translateX(50%); } }

/* ---- Proof ledger — a descending manifesto, deliberately not a 4-up stat grid ---- */
.ab-proof {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 5rem) 2rem 0;
}
.ab-ledger {
    list-style: none;
    margin: 1.4rem 0 0;
    padding: 0;
}
.ab-ledger-row {
    display: grid;
    /* fixed-width numeral column keeps every label on one left edge */
    grid-template-columns: minmax(clamp(4.5rem, 11vw, 9rem), auto) minmax(0, 1fr);
    align-items: baseline;
    gap: clamp(1rem, 3vw, 2.4rem);
    padding: clamp(0.9rem, 2.2vw, 1.5rem) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    /* each rung steps further in, so the list reads as a descent */
    margin-inline-start: calc(var(--step, 0) * clamp(0px, 2.4vw, 38px));
}
.ab-ledger-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.ab-ledger-num {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(3.1rem, 9.5vw, 6.2rem);
    line-height: 0.92;
    color: var(--gold-bright);
    text-shadow: 0 0 46px rgba(234, 199, 106, 0.26);
}
.ab-ledger-num em {
    font-style: normal;
    font-size: 0.34em;
    color: #E9DEF6;
    margin-inline-start: 3px;
}
.ab-ledger-label {
    font-size: clamp(0.94rem, 1.9vw, 1.12rem);
    font-weight: 300;
    line-height: 1.75;
    color: #BCA9D4;
    max-width: 36ch;
}

/* ---- Pillars — editorial numbered rows ---- */
.ab-pillars {
    background: radial-gradient(40% 45% at 90% 10%, rgba(61, 110, 245, 0.09), transparent 70%);
    padding: clamp(5rem, 10vw, 7.5rem) 2rem;
}
.ab-pillars-head {
    max-width: 1100px;
    margin: 0 auto 3rem;
}
.ab-pillars-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    color: var(--color-white);
    max-width: 22ch;
    line-height: 1.3;
    text-shadow: 0 0 40px rgba(124, 61, 166, 0.4);
}
/* preview that trails the cursor across the pillar rows (fine pointers only) */
.ab-peek {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4;
    width: clamp(190px, 17vw, 250px);
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    border: 1px solid rgba(201, 162, 75, 0.45);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
    transform: translate3d(calc(var(--x, 0px) - 50%), calc(var(--y, 0px) - 50%), 0) scale(0.85) rotate(-3deg);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ab-peek img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ab-peek.is-on {
    opacity: 1;
    transform: translate3d(calc(var(--x, 0px) - 50%), calc(var(--y, 0px) - 50%), 0) scale(1) rotate(-2deg);
}
@media (hover: none), (pointer: coarse) { .ab-peek { display: none; } }

.ab-rows {
    max-width: 1100px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ab-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1.2rem, 4vw, 3rem);
    padding: clamp(1.6rem, 3.5vw, 2.3rem) 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.4s ease;
}
.ab-row:hover, .ab-row:focus-visible { background: rgba(124, 61, 166, 0.1); }
.ab-row-num {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(180, 130, 255, 0.55);
    transition: color 0.45s ease, -webkit-text-stroke-color 0.45s ease;
}
.ab-row:hover .ab-row-num, .ab-row:focus-visible .ab-row-num {
    color: var(--gold-bright);
    -webkit-text-stroke-color: var(--gold-bright);
}
.ab-row-title {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.6vw, 1.7rem);
    color: var(--color-white);
    margin-bottom: 0.25rem;
    transition: color 0.35s ease;
}
.ab-row:hover .ab-row-title { color: var(--gold-bright); }
.ab-row-desc {
    display: block;
    font-size: 0.98rem;
    font-weight: 300;
    line-height: 1.8;
    color: #BCA9D4;
    max-width: 62ch;
}
.ab-row-cta { display: flex; align-items: center; gap: 14px; }
.ab-row-hint {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--gold-bright);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(calc(var(--flip, 1) * 10px));
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
[dir="rtl"] .ab-row-hint { --flip: -1; }
.ab-row:hover .ab-row-hint, .ab-row:focus-visible .ab-row-hint { opacity: 1; transform: translateX(0); }
.ab-row-arrow {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    color: #E9DEF6;
    border: 1px solid rgba(180, 130, 255, 0.4);
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
[dir="rtl"] .ab-row-arrow svg { transform: scaleX(-1); }
.ab-row:hover .ab-row-arrow, .ab-row:focus-visible .ab-row-arrow {
    background: linear-gradient(120deg, var(--color-highlight), var(--gold-bright));
    border-color: transparent;
    color: var(--hero-bg);
    transform: translateX(calc(var(--flip, 1) * 4px));
}
[dir="rtl"] .ab-row-arrow { --flip: -1; }

/* ---- The family — ONE Center panel ---- */
.ab-family {
    background: transparent;
    padding: 0 2rem clamp(5rem, 10vw, 7.5rem);
}
.ab-family-panel {
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(2.4rem, 5vw, 4rem);
    border-radius: 28px;
    background: linear-gradient(135deg, #052E2C 0%, #073A36 55%, #0A4A42 100%);
    border: 1px solid rgba(95, 201, 186, 0.25);
    box-shadow: 0 30px 70px rgba(5, 46, 44, 0.35);
}
.ab-family-glow {
    position: absolute;
    width: 480px; height: 480px;
    top: -220px; inset-inline-end: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 201, 186, 0.28), transparent 65%);
    filter: blur(50px);
    pointer-events: none;
    animation: abGlowDrift 16s ease-in-out infinite;
}
.ab-family-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    color: #F2FAF8;
    margin-bottom: 0.8rem;
}
.ab-family-p {
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.9;
    color: #BFE3DC;
    max-width: 52ch;
}
.ab-family-one {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    padding: clamp(1.6rem, 3vw, 2.2rem);
    border-radius: 20px;
    background: rgba(242, 250, 248, 0.05);
    border: 1px solid rgba(95, 201, 186, 0.3);
    backdrop-filter: blur(6px);
}
.ab-one-pulse {
    position: relative;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #5FC9BA;
}
.ab-one-pulse::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(95, 201, 186, 0.7);
    animation: abPulse 2.2s ease-out infinite;
}
@keyframes abPulse {
    0%   { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.1); opacity: 0; }
}
.ab-one-motto {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    line-height: 1.5;
    color: #8FDCCF;
}
.ab-one-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #052E2C;
    background: linear-gradient(120deg, #5FC9BA, #E9C46A);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.ab-one-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(95, 201, 186, 0.35);
}
[dir="rtl"] .ab-one-link svg { transform: scaleX(-1); }

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .ab-story-grid { grid-template-columns: 1fr; }
    .ab-story-sticky { position: static; }
    .ab-family-panel { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    /* photo stack flattens into a composed grid, parallax off */
    .ab-stack {
        min-height: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .ab-ph, .ab-ph.p1, .ab-ph.p2, .ab-ph.p3 {
        position: relative; /* keeps the caption anchored to its own frame */
        inset: auto;
        width: 100%;
        aspect-ratio: 4 / 5;
        transform: none !important;
    }
    .ab-ph.p3 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
    .ab-ph::before { display: none; }
    .ab-ph-cap { opacity: 1; transform: none; } /* no hover on touch: show them */
    .ab-stack-chip { top: 14px; inset-inline-end: 14px; transform: none !important; }
    .ab-stack { position: relative; }
}
@media (max-width: 720px) {
    /* stay two-up: stacking splits the numeral and its label to opposite
       edges under RTL, which reads as two unrelated things */
    .ab-ledger-row {
        grid-template-columns: minmax(3.6rem, auto) minmax(0, 1fr);
        align-items: center;
        gap: 0.9rem;
    }
    .ab-ledger-num { font-size: clamp(2.3rem, 11vw, 3.2rem); }
    .ab-ledger-label { max-width: none; font-size: 0.9rem; line-height: 1.6; }
    .ab-row { grid-template-columns: auto 1fr auto; }
    .ab-row-hint { display: none; }      /* keep the arrow affordance on mobile */
    .ab-row-arrow { width: 36px; height: 36px; }
    .ab-scroll { display: none; }
    .ab-hero-inner { gap: 1rem; }
    .ab-live { gap: 8px; padding: 9px 16px; }
    .ab-live-tz { display: none; }
}

/* ---- Reduced motion: present the finished page, skip the choreography ---- */
@media (prefers-reduced-motion: reduce) {
    .ab-wi { animation: none; transform: none; filter: none; }
    .ab-gold::after { animation: none; transform: scaleX(1); }
    .ab-fade { animation: none; opacity: 1; transform: none; }
    .ab-hero-rule i { animation: none; transform: scaleY(1); }
    .ab-glow, .ab-family-glow, .ab-marquee-track, .ab-scroll-dot,
    .ab-one-pulse::after, .ab-live-dot { animation: none; }
    .ab-ph img, .ab-row, .ab-row-num, .ab-row-arrow, .ab-one-link,
    .ab-ph-cap, .ab-peek { transition: none; }
    .ab-ph-cap { opacity: 1; transform: none; }
    .ab-peek { display: none; }   /* an element chasing the cursor is what this setting opts out of */
    .ab-grain { opacity: 0.25; }
}

/* ==========================================================================
   Home extras (index.php) — "hx-" namespace
   Expanding classes deck, memberships teaser, 1:1 PT shortcut banner
   ========================================================================== */

.hx-classes, .hx-plans {
    background:
        radial-gradient(50% 45% at 85% 0%, rgba(90, 46, 115, 0.22), transparent 70%),
        var(--color-dark);
    padding: clamp(4.5rem, 9vw, 7rem) 2rem;
}
.hx-plans {
    background:
        radial-gradient(50% 45% at 12% 10%, rgba(61, 110, 245, 0.10), transparent 70%),
        var(--color-dark);
    padding-top: 0;
}
.hx-head {
    max-width: 1240px;
    margin: 0 auto 2.6rem;
    text-align: center;
}
.hx-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    line-height: 1.25;
    color: var(--color-white);
    text-shadow: 0 0 40px rgba(124, 61, 166, 0.4);
    margin-bottom: 0.5rem;
}
.hx-sub {
    color: #BCA9D4;
    font-size: clamp(0.98rem, 2vw, 1.12rem);
    font-weight: 300;
}

/* ---- Classes deck: one open world, three waiting ---- */
.hx-deck {
    display: flex;
    gap: 14px;
    max-width: 1240px;
    margin: 0 auto;
    height: clamp(420px, 58vh, 560px);
}
.hx-panel {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: flex 0.75s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    will-change: flex;
}
.hx-panel.is-open {
    flex: 3.4;
    border-color: rgba(201, 162, 75, 0.45);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hx-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.55) brightness(0.72);
    transform: scale(1.12);
    transition: filter 0.7s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.hx-panel.is-open img { filter: saturate(1) brightness(0.92); transform: scale(1); }
.hx-panel-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 13, 21, 0.15) 40%, rgba(18, 13, 21, 0.88) 100%);
}
.hx-panel-num {
    position: absolute;
    top: 18px;
    inset-inline-start: 18px;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(234, 199, 106, 0.75);
}
/* vertical label while the panel waits its turn */
.hx-panel-side {
    position: absolute;
    bottom: 22px;
    inset-inline-start: 50%;
    transform: translateX(calc(var(--flip, 1) * -50%));
    writing-mode: vertical-rl;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.9vw, 1.3rem);
    letter-spacing: 1px;
    color: #E9DEF6;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.35s ease;
}
[dir="rtl"] .hx-panel-side { --flip: -1; }
.hx-panel.is-open .hx-panel-side { opacity: 0; }
.hx-panel-info {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    padding: 1.6rem 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hx-panel.is-open .hx-panel-info {
    opacity: 1;
    transform: none;
    transition-delay: 0.22s;
}
.hx-panel-info strong {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    color: #fff;
}
.hx-panel-desc {
    font-size: 0.95rem;
    font-weight: 300;
    color: #D8CFE4;
    max-width: 42ch;
}
.hx-panel-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold-bright);
}
[dir="rtl"] .hx-panel-more svg { transform: scaleX(-1); }

/* ---- Memberships teaser ---- */
.hx-plan-row {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 1.4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.hx-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
    padding: 2rem 1.4rem 1.8rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.hx-plan:hover {
    transform: translateY(-6px);
    border-color: rgba(180, 130, 255, 0.4);
}
.hx-plan.is-hero {
    padding: 2.8rem 1.6rem 2.2rem;
    background: linear-gradient(180deg, rgba(62, 32, 86, 0.75), rgba(22, 15, 30, 0.9));
    border: 1px solid rgba(201, 162, 75, 0.5);
    box-shadow: 0 24px 60px rgba(90, 46, 115, 0.4);
}
.hx-plan.is-hero:hover { box-shadow: 0 30px 70px rgba(90, 46, 115, 0.55); }
.hx-plan-tag {
    position: absolute;
    top: -11px;
    inset-inline-start: 50%;
    transform: translateX(calc(var(--flip, 1) * -50%));
    white-space: nowrap;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.5px;
    color: #E9DEF6;
    padding: 4px 12px; border-radius: 20px;
    background: rgba(22, 15, 30, 0.95);
    border: 1px solid rgba(180, 130, 255, 0.5);
}
[dir="rtl"] .hx-plan-tag { --flip: -1; }
.hx-plan-label {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #E9DEF6;
    margin-bottom: 0.4rem;
}
.hx-plan-price {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    line-height: 1;
    color: #fff;
}
.hx-plan.is-hero .hx-plan-price { color: var(--gold-bright); text-shadow: 0 0 34px rgba(234, 199, 106, 0.3); }
.hx-plan-cur { font-size: 0.85rem; color: #BCA9D4; margin-bottom: 0.7rem; }
.hx-plan-per { font-size: 0.88rem; font-weight: 300; color: #BCA9D4; }
.hx-plan-save { font-size: 0.85rem; color: #8FDCCF; margin-bottom: 1.2rem; }
.hx-plan-save b { font-weight: 700; }
.hx-plan-cta {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 0.92rem; font-weight: 700;
    color: #E3DAF0;
    border: 1px solid rgba(180, 130, 255, 0.45);
    background: rgba(124, 61, 166, 0.12);
    transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.hx-plan-cta:hover {
    transform: translateY(-2px);
    color: #fff;
    background: linear-gradient(120deg, #7C3DA6, #3D6EF5);
    box-shadow: 0 10px 28px rgba(90, 46, 115, 0.5);
}
.hx-plan.is-hero .hx-plan-cta {
    color: var(--hero-bg);
    border-color: transparent;
    background: linear-gradient(120deg, var(--color-highlight), var(--gold-bright));
}
.hx-plan.is-hero .hx-plan-cta:hover { box-shadow: 0 12px 30px rgba(234, 199, 106, 0.4); }
.hx-plans-note {
    max-width: 1100px;
    margin: 2rem auto 0;
    text-align: center;
}
.hx-plans-note a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem; font-weight: 600;
    color: var(--gold-bright);
    transition: gap 0.3s ease;
}
.hx-plans-note a:hover { gap: 12px; }
[dir="rtl"] .hx-plans-note svg { transform: scaleX(-1); }

/* ---- Personal training shortcut banner ---- */
.hx-pt-wrap {
    background: var(--color-dark);
    padding: 0 2rem clamp(4.5rem, 9vw, 7rem);
}
.hx-pt {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: clamp(1.4rem, 4vw, 3rem);
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(1.8rem, 4vw, 2.6rem) clamp(1.6rem, 4vw, 3rem);
    border-radius: 26px;
    background: linear-gradient(120deg, #3E2056 0%, #5A2E73 55%, #2A3C8F 100%);
    border: 1px solid rgba(180, 130, 255, 0.35);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}
.hx-pt:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(90, 46, 115, 0.55);
}
.hx-pt::after {
    content: '';
    position: absolute;
    top: 0; inset-inline-start: -70%;
    width: 45%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.14), transparent);
    transform: skewX(-20deg);
    transition: inset-inline-start 0.7s ease;
    pointer-events: none;
}
.hx-pt:hover::after { inset-inline-start: 130%; }
.hx-pt-glow {
    position: absolute;
    width: 380px; height: 380px;
    top: -180px; inset-inline-end: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(234, 199, 106, 0.22), transparent 65%);
    filter: blur(40px);
    pointer-events: none;
}
.hx-pt-orb {
    position: relative;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: clamp(84px, 10vw, 108px);
    height: clamp(84px, 10vw, 108px);
}
.hx-pt-orb b {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    color: var(--gold-bright);
    text-shadow: 0 0 24px rgba(234, 199, 106, 0.4);
}
.hx-pt-orb i {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(234, 199, 106, 0.5);
}
.hx-pt-orb i.r2 {
    animation: abPulse 2.6s ease-out infinite;
}
.hx-pt-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hx-pt-text em {
    font-style: normal;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-bright);
}
.hx-pt-text strong {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    color: #fff;
    line-height: 1.3;
}
.hx-pt-text > span {
    font-size: 0.98rem;
    font-weight: 300;
    color: #D8CFE4;
    max-width: 52ch;
}
.hx-pt-cta { display: flex; align-items: center; gap: 14px; }
.hx-pt-hint {
    font-size: 0.88rem; font-weight: 600;
    color: #E9DEF6;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(calc(var(--flip, 1) * 10px));
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
[dir="rtl"] .hx-pt-hint, [dir="rtl"] .hx-pt-arrow { --flip: -1; }
.hx-pt:hover .hx-pt-hint { opacity: 1; transform: translateX(0); }
.hx-pt-arrow {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: background 0.4s ease, color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
[dir="rtl"] .hx-pt-arrow svg { transform: scaleX(-1); }
.hx-pt:hover .hx-pt-arrow {
    background: linear-gradient(120deg, var(--color-highlight), var(--gold-bright));
    border-color: transparent;
    color: var(--hero-bg);
    transform: translateX(calc(var(--flip, 1) * 4px));
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .hx-plan-row { grid-template-columns: 1fr; max-width: 460px; }
    .hx-plan.is-hero { order: -1; }
}
@media (max-width: 860px) {
    /* deck folds into a vertical accordion */
    .hx-deck {
        flex-direction: column;
        height: auto;
    }
    .hx-panel { min-height: 76px; flex: none; transition: min-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease; }
    .hx-panel.is-open { min-height: 330px; flex: none; }
    .hx-panel-side {
        writing-mode: horizontal-tb;
        bottom: auto;
        top: 50%;
        inset-inline-start: 60px;
        transform: translateY(-50%);
    }
    .hx-panel-num { top: 50%; transform: translateY(-50%); }
    .hx-panel.is-open .hx-panel-num { top: 18px; transform: none; }
    .hx-panel-info { padding: 1.3rem 1.4rem; }
}
@media (max-width: 640px) {
    .hx-pt { flex-wrap: wrap; }
    .hx-pt-cta { width: 100%; justify-content: flex-end; }
    .hx-pt-hint { opacity: 1; transform: none; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .hx-panel, .hx-panel img, .hx-panel-info, .hx-plan, .hx-pt, .hx-pt-arrow { transition: none; }
    .hx-pt-orb i.r2 { animation: none; }
    .hx-pt::after { display: none; }
}

/* ==========================================================================
   AI Generated Background Images for Hero Sections
   ========================================================================== */

/* About Page */
.ab-hero {
    background-image: 
        linear-gradient(to bottom, rgba(22, 15, 30, 0.4) 0%, rgba(22, 15, 30, 1) 100%),
        url('../images/bg_about_no_text_1783301266717.webp') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}

/* Classes Page */
.cx-hero {
    background-image: 
        linear-gradient(to bottom, rgba(22, 15, 30, 0.4) 0%, rgba(22, 15, 30, 1) 100%),
        url('../images/bg_classes_no_text_1783301275097.webp') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}

/* Coaches Page */
.trainers-hero {
    background-image: 
        linear-gradient(to bottom, rgba(22, 15, 30, 0.4) 0%, rgba(22, 15, 30, 1) 100%),
        url('../images/bg_coaches_no_text_1783301283395.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Personal Training Page */
.pt-hero {
    background-image: 
        linear-gradient(to bottom, rgba(22, 15, 30, 0.4) 0%, rgba(22, 15, 30, 1) 100%),
        url('../images/bg_pt_no_text_1783301315591.webp') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}

/* Contact Page */
.ct-hero {
    background-image: 
        linear-gradient(to bottom, rgba(22, 15, 30, 0.4) 0%, rgba(22, 15, 30, 1) 100%),
        url('../images/bg_contact_no_text_1783301331633.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Membership Page */
.px-hero {
    background-image: 
        linear-gradient(to bottom, rgba(22, 15, 30, 0.4) 0%, rgba(22, 15, 30, 1) 100%),
        url('../images/bg_membership_no_text_1783301323627.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* ==========================================================================
   AI Generated Background Images for Inner Sections
   ========================================================================== */

.px-swim {
    background-image: 
        linear-gradient(to bottom, rgba(22, 15, 30, 0.7) 0%, rgba(22, 15, 30, 1) 100%),
        url('../images/bg_swim_1783301681861.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.px-nutrition {
    background-image: 
        linear-gradient(to bottom, rgba(22, 15, 30, 0.7) 0%, rgba(22, 15, 30, 1) 100%),
        url('../images/bg_nutrition_1783301690146.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.px-challenge {
    background-image: 
        linear-gradient(to bottom, rgba(22, 15, 30, 0.7) 0%, rgba(22, 15, 30, 1) 100%),
        url('../images/bg_challenge_1783301700293.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.pt-journey-section {
    background-image: 
        linear-gradient(to bottom, rgba(22, 15, 30, 0.7) 0%, rgba(22, 15, 30, 1) 100%),
        url('../images/bg_journey_1783301725405.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.hx-classes {
    background-image: 
        linear-gradient(to bottom, rgba(22, 15, 30, 0.7) 0%, rgba(22, 15, 30, 1) 100%),
        url('../images/bg_index_classes_1783301733259.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* ==========================================================================
   Activate Your Senses - Vertical Gallery
   ========================================================================== */

.ax-gallery {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    overflow: hidden;
    opacity: 1;
    pointer-events: auto; /* allow hover events */
}

.ax-col {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.ax-col:last-child {
    border-right: none;
}

/* On hover, expand the column and compress others */
.ax-gallery:hover .ax-col {
    flex: 0.8;
}

.ax-gallery .ax-col:hover {
    flex: 2.5;
}

.ax-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6) contrast(1.1) grayscale(0.5);
    transition: filter 0.6s ease, transform 0.8s ease;
    transform: scale(1.05);
}

.ax-col:hover img {
    filter: brightness(0.9) contrast(1.2) grayscale(0);
    transform: scale(1);
}

.ax-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 15, 30, 1) 0%, rgba(22, 15, 30, 0.4) 40%, rgba(22, 15, 30, 0.8) 100%);
    pointer-events: none;
}


/* ==========================================================================
   Page covers — one size, one design, centred
   about.php's hero is the reference: a full-viewport stage with the content
   optically centred. Every page cover now shares that stature so moving
   between pages feels like one site rather than six.
   ========================================================================== */
.ab-hero,
.cx-hero,
.trainers-hero,
.px-hero,
.pt-hero,
.ct-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    padding:
        clamp(126px, 18vh, 200px)
        clamp(1.25rem, 6vw, 5rem)
        clamp(96px, 13vh, 156px);
}

/* every cover dissolves into the section beneath it */
.ab-hero::after,
.cx-hero::after,
.trainers-hero::after,
.px-hero::after,
.pt-hero::after,
.ct-hero::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(180deg, transparent, var(--color-dark));
    pointer-events: none;
    z-index: 0;
}

/* shared content column, riding above the fade and the ambient layers */
.ab-hero-inner,
.cx-hero-inner,
.trainers-hero-inner,
.px-hero-inner,
.ct-hero-inner,
.pt-hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 62rem;
    margin-inline: auto;
}

/* one display scale for every cover headline */
.ab-headline,
.px-hero-title,
.trainers-title,
.pt-hero-title {
    font-size: clamp(2.35rem, 6.4vw, 4.6rem);
    line-height: 1.12;
    text-wrap: balance;
}
[dir="rtl"] .ab-headline,
[dir="rtl"] .px-hero-title,
[dir="rtl"] .trainers-title,
[dir="rtl"] .pt-hero-title { line-height: 1.32; letter-spacing: 0; }

/* ---- About: fold the asymmetric manifesto into a centred one ---- */
.ab-hero-inner {
    display: block;
}
.ab-hero-body {
    max-width: 46rem;
    margin-inline: auto;
}
/* the gold rule becomes a vertical tick above the eyebrow, still self-drawing */
.ab-hero-rule {
    width: 2px;
    height: clamp(38px, 6vh, 64px);
    margin: 0 auto clamp(1rem, 2.4vh, 1.6rem);
}
.ab-hero-sub { margin-inline: auto; }
.ab-hero-chips { justify-content: center; }
.ab-watermark {
    inset-inline: 0;
    margin-inline: auto;
    width: max-content;
}
.ab-scroll {
    inset-inline: 0;
    justify-content: center;
}

/* ---- Personal training: text centred, focus orb becomes the backdrop ---- */
.pt-hero-grid {
    display: block;
    max-width: 54rem;
    text-align: center;
}
.pt-hero-text { position: relative; z-index: 1; }
.pt-hero-rot,
.pt-hero-ctas,
.pt-hero-chips { justify-content: center; }
.pt-hero-sub { margin-inline: auto; }
/* the focus orb stops being a column of its own and becomes a halo: the
   orbiting rings stay, the labels inside it would only collide with the copy */
.pt-orb-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    align-items: center;
    opacity: 0.5;
    pointer-events: none;
}
.pt-orb-wrap .pt-focus { width: clamp(300px, 42vw, 520px); }
.pt-orb-wrap .pt-focus-core,
.pt-orb-wrap .pt-float-chip { display: none; }

/* ---- Mobile: tighter frame, nothing clipped, everything centred ---- */
@media (max-width: 720px) {
    .ab-hero,
    .cx-hero,
    .trainers-hero,
    .px-hero,
    .pt-hero,
    .ct-hero {
        min-height: 92svh;
        padding: clamp(104px, 15vh, 140px) 1.25rem clamp(72px, 10vh, 104px);
    }

    .ab-headline,
    .px-hero-title,
    .trainers-title,
    .pt-hero-title { font-size: clamp(2rem, 8.6vw, 2.9rem); }

    .ab-hero-sub,
    .px-hero-sub,
    .trainers-sub,
    .pt-hero-sub { font-size: 0.98rem; line-height: 1.75; }

    /* pills and stat rows read better as centred, wrapping clusters */
    .ab-hero-chips,
    .pt-hero-chips,
    .pt-hero-ctas,
    .cx-stats { justify-content: center; gap: 10px; }

    .ab-live,
    .ct-status { justify-content: center; }

    /* the decorative ghost words overwhelm a phone-width cover */
    .cx-hero-ghost,
    .ct-hero-ghost { font-size: 42vw; opacity: 0.55; }

    .pt-orb-wrap { opacity: 0.22; }
}

/* ==========================================================================
   404 page (404.php) — "nf-" namespace
   ========================================================================== */
.nf-page { background-color: var(--color-dark); }
.nf-hero {
    position: relative;
    min-height: 82vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: clamp(140px, 20vh, 200px) clamp(1.4rem, 6vw, 4rem) 100px;
    background:
        radial-gradient(58% 60% at 50% 8%, rgba(90, 46, 115, 0.34), transparent 70%),
        var(--hero-bg);
}
.nf-inner { position: relative; z-index: 1; max-width: 640px; text-align: center; }
.nf-code {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(5rem, 18vw, 11rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(234, 199, 106, 0.42);
    margin-bottom: 0.4rem;
}
.nf-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 5vw, 3.1rem);
    line-height: 1.3;
    color: var(--color-white);
    margin-bottom: 1rem;
}
.nf-sub {
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.9;
    color: #BCA9D4;
    margin: 0 auto 2.2rem;
    max-width: 46ch;
}
.nf-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 2.6rem;
}
.nf-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #F6F1E7;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.45);
    transition: background 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nf-wa svg { color: #25D366; }
.nf-wa:hover { background: rgba(37, 211, 102, 0.2); transform: translateY(-2px); }
.nf-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.nf-links a {
    font-size: 0.94rem;
    color: #BCA9D4;
    transition: color 0.3s ease;
}
.nf-links a:hover { color: var(--gold-bright); }

@media (prefers-reduced-motion: reduce) {
    .nf-wa { transition: none; }
}

/* ==========================================================================
   Floating WhatsApp button — "wa-fab"
   Glass over amethyst, gold-violet halo. Deliberately not WhatsApp green:
   it belongs to REFIT's palette, not to the messenger's brand.
   ========================================================================== */

/* Registered so the conic sweep can be animated. Browsers without @property
   fall back to a static gradient, which still reads correctly. */
@property --wa-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.wa-fab {
    position: fixed;
    bottom: clamp(16px, 3vw, 26px);
    inset-inline-end: clamp(16px, 3vw, 26px);
    z-index: 900;                 /* under the mobile nav overlay (1000) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: clamp(54px, 8vw, 62px);
    padding: 0 clamp(15px, 2.2vw, 19px);
    border-radius: 999px;
    color: #F6F1E7;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
    animation: waFabIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.1s backwards;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.45s ease;
}
@keyframes waFabIn {
    from { opacity: 0; transform: translateY(22px) scale(0.82); }
}

/* --- layer 1: breathing halo --- */
.wa-fab-halo {
    position: absolute;
    inset: -15px;
    border-radius: inherit;
    z-index: -3;
    background: radial-gradient(circle, rgba(124, 61, 166, 0.55), rgba(234, 199, 106, 0.14) 55%, transparent 72%);
    filter: blur(11px);
    animation: waHalo 3.4s ease-in-out infinite;
}
@keyframes waHalo {
    0%, 100% { transform: scale(0.9);  opacity: 0.55; }
    50%      { transform: scale(1.14); opacity: 0.95; }
}

/* --- layer 2: rotating conic edge --- */
.wa-fab-ring {
    position: absolute;
    inset: -1.5px;
    border-radius: inherit;
    z-index: -2;
    background: conic-gradient(from var(--wa-angle),
        rgba(234, 199, 106, 0)   0deg,
        var(--gold-bright)      55deg,
        #C79BFF                135deg,
        rgba(199, 155, 255, 0) 210deg,
        rgba(234, 199, 106, 0) 300deg,
        var(--gold-bright)     360deg);
    animation: waSpin 6s linear infinite;
}
@keyframes waSpin { to { --wa-angle: 360deg; } }

/* --- layer 3: the glass itself --- */
.wa-fab-glass {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(124, 61, 166, 0.62), rgba(22, 15, 30, 0.55) 62%);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5),
                inset 0 -8px 18px rgba(22, 15, 30, 0.45),
                0 16px 38px rgba(22, 15, 30, 0.5);
}
/* the gloss: a hard highlight across the upper shoulder */
.wa-fab-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(152deg,
        rgba(255, 255, 255, 0.46) 0%,
        rgba(255, 255, 255, 0.1) 34%,
        transparent 56%);
}
/* a light band that sweeps across every few seconds */
.wa-fab-glass::after {
    content: '';
    position: absolute;
    top: -60%;
    inset-inline-start: -70%;
    width: 45%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: rotate(18deg);
    animation: waSheen 5.5s ease-in-out infinite;
}
@keyframes waSheen {
    0%, 62%  { transform: translateX(0) rotate(18deg); }
    82%, 100% { transform: translateX(560%) rotate(18deg); }
}

.wa-fab-icon {
    position: relative;
    width: 27px;
    height: 27px;
    flex: none;
    filter: drop-shadow(0 2px 5px rgba(22, 15, 30, 0.6));
}

/* label stays collapsed until there's intent */
.wa-fab-label {
    position: relative;
    max-width: 0;
    margin-inline-start: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    opacity: 0;
    transition: max-width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                margin-inline-start 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s ease;
}
.wa-fab:hover .wa-fab-label,
.wa-fab:focus-visible .wa-fab-label {
    max-width: 12rem;
    margin-inline-start: 11px;
    opacity: 1;
}

.wa-fab:hover  { transform: translateY(-4px); }
.wa-fab:active { transform: translateY(-1px) scale(0.97); }
.wa-fab:focus-visible {
    outline: 3px solid var(--gold-bright);
    outline-offset: 4px;
}

/* touch devices never hover, so don't reserve room for a label */
@media (hover: none), (pointer: coarse) {
    .wa-fab-label { display: none; }
    .wa-fab { padding: 0; width: clamp(54px, 14vw, 60px); }
}

@media (prefers-reduced-motion: reduce) {
    .wa-fab { animation: none; transition: none; }
    .wa-fab-halo, .wa-fab-ring, .wa-fab-glass::after { animation: none; }
    .wa-fab-halo { opacity: 0.7; transform: none; }
    .wa-fab-label { transition: none; }
}
