/* =====================================================================
   EDGE FITNESS : HOMEPAGE STYLES
   Brand: EDGE FITNESS | Luxury, Bold, Athletic, Modern & Cinematic
   Color Palette:
     - Primary background: #090A0C
     - Secondary background: #141619
     - Card background: #1B1D20
     - EDGE Gold: #E5A51B
     - Secondary Gold: #C58A13
     - Primary text: #FFFFFF
     - Secondary text: #B8B8B8
     - Light section background: #F4F4F1
     - Dark section text: #111111
   ===================================================================== */

/* =====================================================================
   1. HERO SECTION (CINEMATIC FULL-SCREEN)
   ===================================================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--text-white);
    background: var(--black);
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--hdr-h) + var(--topbar-h) + 1.5rem) 0 11rem;
}

.hero__slides,
.hero__slide {
    position: absolute;
    inset: 0;
}

.hero__slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.4s var(--ease-smooth), visibility 0s linear 1.4s;
    z-index: 0;
}

.hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
    z-index: 1;
}

.hero__slide .ph > img {
    animation: ef-kenburns 18s ease-out both;
}

@keyframes ef-kenburns {
    from { transform: scale(1.14); }
    to { transform: scale(1.0); }
}

.hero__shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(9, 10, 12, 0.94) 0%, rgba(9, 10, 12, 0.72) 48%, rgba(9, 10, 12, 0.3) 100%),
        linear-gradient(0deg, rgba(9, 10, 12, 0.98) 0%, rgba(9, 10, 12, 0.4) 40%, transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(229, 165, 27, 0.08), transparent 60%);
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 960px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    background: rgba(229, 165, 27, 0.12);
    border: 1px solid rgba(229, 165, 27, 0.35);
    color: var(--gold);
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    animation: ef-pulse 2s infinite;
}

@keyframes ef-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__title {
    font-family: var(--ff-display);
    font-size: clamp(3.2rem, 6.5vw, 5rem);
    line-height: 0.94;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow: 0 8px 35px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero__title span {
    display: block;
}

.hero__lead {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.65;
    color: var(--text-silver);
    max-width: 620px;
    margin-bottom: 2.25rem;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* Hero Controls */
.hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 54px;
    height: 54px;
    margin-top: -27px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(20, 22, 25, 0.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    border-radius: 2px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-smooth);
}

.hero__arrow:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.hero__arrow--prev { left: 28px; }
.hero__arrow--next { right: 28px; }
.hero__arrow--prev:hover { transform: translateX(-4px); }
.hero__arrow--next:hover { transform: translateX(4px); }

.hero__foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8.5rem;
    z-index: 4;
}

.hero__dots {
    display: flex;
    gap: 0.75rem;
}

.hero__dot {
    width: 36px;
    height: 4px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s, width 0.4s var(--ease-smooth);
    position: relative;
    border-radius: 2px;
}

.hero__dot::after {
    content: "";
    position: absolute;
    inset: -12px 0;
}

.hero__dot.is-active {
    background: var(--gold);
    width: 68px;
}

.hero__scroll {
    position: absolute;
    right: 36px;
    bottom: 9rem;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s;
}

.hero__scroll:hover {
    color: var(--gold);
}

.hero__scroll i {
    display: block;
    width: 2px;
    height: 55px;
    background: linear-gradient(var(--gold), transparent);
    animation: ef-scroll 2.2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes ef-scroll {
    0% { transform: scaleY(0); }
    50% { transform: scaleY(1); }
    100% { transform: scaleY(1); opacity: 0; }
}

/* =====================================================================
   2. HERO IMAGE PREVIEW STRIP (FLOATING GALLERY)
   ===================================================================== */
.strip {
    position: relative;
    z-index: 5;
    margin-top: -6.5rem;
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
    background: linear-gradient(180deg, transparent 6.5rem, var(--light-bg) 6.5rem);
    overflow: hidden;
}

.strip__card {
    background: rgba(27, 29, 32, 0.95);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(229, 165, 27, 0.3);
    border-top: 4px solid var(--gold);
    padding: clamp(0.9rem, 2vw, 1.4rem);
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.strip__track {
    display: flex;
    gap: clamp(0.75rem, 1.6vw, 1.25rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.strip__track::-webkit-scrollbar {
    display: none;
}

.strip__item {
    flex: 0 0 calc((100% - 3 * clamp(0.75rem, 1.6vw, 1.25rem)) / 4);
    scroll-snap-align: start;
    min-width: 200px;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    transition: border-color 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
}

.strip__item:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.strip__tag {
    position: absolute;
    bottom: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    padding: 0.3rem 0.65rem;
    background: rgba(9, 10, 12, 0.85);
    border-left: 2px solid var(--gold);
    color: var(--text-white);
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    pointer-events: none;
}

/* =====================================================================
   2B. WELCOME & JOIN OUR FITNESS
   ===================================================================== */
.sec--welcome {
    background: #FFFFFF;
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    color: #111111;
    position: relative;
    overflow: hidden;
}

.welcome-frame {
    position: relative;
    max-width: 440px;
    margin: 24px auto 12px;
}

.welcome-frame::before {
    content: "";
    position: absolute;
    top: -24px;
    left: -20px;
    right: -20px;
    height: 84%;
    border: 11px solid #F0202D;
    z-index: 1;
    pointer-events: none;
    box-sizing: border-box;
}

.welcome-frame__box {
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.welcome-frame__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.welcome__content {
    padding-left: clamp(0rem, 2vw, 1.5rem);
}

.welcome__title {
    font-family: var(--ff-heading);
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #111111;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
}

.welcome__title .gold {
    color: var(--gold);
}

.welcome__lead {
    font-family: var(--ff-body);
    font-size: 0.98rem;
    line-height: 1.68;
    color: #4A4D54;
    margin-bottom: 1.1rem;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.2rem 0;
    padding-top: 0.75rem;
}

@media (max-width: 768px) {
    .welcome-features {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .welcome-frame::before {
        top: -16px;
        left: -12px;
        right: -12px;
        border-width: 8px;
    }
}

.welcome-feat__icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #111111;
    margin-bottom: 0.85rem;
    height: 44px;
}

.welcome-feat__icon svg {
    stroke: #111111;
}

.welcome-feat__title {
    font-family: var(--ff-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #111111;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.welcome-feat__desc {
    font-family: var(--ff-body);
    font-size: 0.86rem;
    line-height: 1.58;
    color: #60646C;
    margin: 0;
}

.welcome__action {
    margin-top: 2rem;
}

.welcome__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: #FFFFFF !important;
    font-family: var(--ff-heading);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.95rem 2.6rem;
    border-radius: 2px;
    box-shadow: 0 4px 16px rgba(229, 165, 27, 0.35);
    transition: all 0.25s ease;
}

.welcome__btn:hover,
.welcome__btn:focus-visible {
    background: #111111;
    color: var(--gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* =====================================================================
   3. UPCOMING EVENTS
   ===================================================================== */
.sec--events {
    padding-top: clamp(3rem, 6vw, 5rem);
    overflow: hidden;
}

.poster {
    position: relative;
    margin: 0;
    max-width: 440px;
}

.poster::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--gold);
    transform: translate(20px, 20px);
    z-index: 0;
    transition: transform 0.4s var(--ease-smooth);
}

.poster:hover::before {
    transform: translate(12px, 12px);
}

.poster .ph {
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.22);
}

.event {
    background: var(--light-card);
    border: 1px solid var(--line-light);
    border-left: 5px solid var(--gold);
    padding: clamp(1.75rem, 3.5vw, 2.75rem);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-radius: 3px;
}

.event__badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(229, 165, 27, 0.15);
    color: var(--gold-deep);
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    border-radius: 2px;
}

.event__invite {
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--light-muted);
    margin-bottom: 0.5rem;
}

.event__name {
    font-family: var(--ff-display);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1;
    margin: 0 0 1.5rem;
    color: var(--light-text);
}

.event__desc {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--light-muted);
    margin-bottom: 1.75rem;
    max-width: 540px;
}

.event__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}

.event__meta li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.event__meta i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: var(--black);
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
    border-radius: 2px;
}

.event__meta span {
    display: block;
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--light-text);
}

.event__meta small {
    display: block;
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--gold-deep);
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}

/* =====================================================================
   4. ABOUT EDGE FITNESS (MORE THAN A GYM. A COMMUNITY.)
   ===================================================================== */
.about-media {
    position: relative;
    max-width: 520px;
    padding: 0 0 2.2rem 2.2rem;
}

.about-media .ph {
    position: relative;
    z-index: 2;
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.2);
}

.about-media__frame {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 2.2rem;
    top: 2.2rem;
    border: 3px solid var(--gold);
    z-index: 1;
}

.about-media__badge {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    z-index: 3;
    padding: 0.65rem 1.1rem;
    background: var(--black);
    color: var(--gold);
    border: 1px solid var(--gold);
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.lead-copy {
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 1.1rem;
}

.body-copy {
    color: var(--light-muted);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 2.25rem;
}

.services {
    margin: 2rem 0 2.5rem;
}

.service {
    height: 100%;
    padding: 1.75rem 1.5rem;
    background: var(--light-card);
    border: 1px solid var(--line-light);
    border-top: 3px solid var(--black);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.35s var(--ease-smooth), border-top-color 0.3s, box-shadow 0.35s;
    border-radius: 2px;
}

.service:hover {
    transform: translateY(-6px);
    border-top-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service__icon-wrap {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    background: rgba(229, 165, 27, 0.14);
    border-radius: 2px;
    margin-bottom: 1.25rem;
}

.service__icon {
    font-size: 1.6rem;
    color: var(--gold-deep);
}

.service h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--light-text);
}

.service p {
    font-size: 0.92rem;
    color: var(--light-muted);
    margin: 0;
    line-height: 1.65;
}

/* =====================================================================
   5. OUR PROGRAMS (TRAIN WITH PURPOSE. ACHIEVE WITH EDGE.)
   ===================================================================== */
.programs {
    align-items: stretch;
}

.prog {
    position: relative;
    border: 1px solid var(--border-dark);
    background: var(--charcoal-card);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 3px;
    transition: border-color 0.4s var(--ease-smooth),
                transform 0.45s var(--ease-smooth),
                box-shadow 0.45s var(--ease-smooth);
}

.prog:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.prog__media {
    position: relative;
    overflow: hidden;
}

.prog__media .ph::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--charcoal-card) 5%, rgba(9, 10, 12, 0.4) 50%, rgba(9, 10, 12, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.prog__body {
    position: relative;
    z-index: 2;
    padding: clamp(1.5rem, 2.8vw, 2.25rem);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prog__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.85rem;
}

.prog__cat {
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0;
}

.prog__num {
    font-family: var(--ff-display);
    font-size: 2.8rem;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
    transition: color 0.3s, -webkit-text-stroke-color 0.3s;
}

.prog:hover .prog__num {
    color: var(--gold);
    -webkit-text-stroke-color: var(--gold);
}

.prog__title {
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    color: var(--text-white);
    margin-bottom: 0.85rem;
}

.prog__desc {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--text-silver);
    margin-bottom: 1.5rem;
    flex: 1;
}

.prog__link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: auto;
}

.prog__arrow {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-size: 0.75rem;
    transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-smooth);
}

.prog:hover .prog__arrow {
    background: var(--gold);
    color: var(--black);
    transform: translateX(4px);
}

/* Featured / Emphasized Middle Program Card */
.prog--featured {
    border-color: rgba(229, 165, 27, 0.45);
    background: linear-gradient(180deg, #22252A 0%, var(--charcoal-card) 100%);
}

.prog--featured::before {
    content: "FEATURED DISCIPLINE";
    display: block;
    background: var(--gold);
    color: var(--black);
    text-align: center;
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    padding: 0.4rem 0;
}

/* =====================================================================
   6. ACHIEVEMENTS AND STATISTICS
   ===================================================================== */
.stats {
    position: relative;
    background: var(--charcoal-dark);
    color: var(--text-white);
    border-top: 1px solid var(--line-gold);
    border-bottom: 1px solid var(--line-gold);
    padding: clamp(3.5rem, 6.5vw, 5.5rem) 0;
    overflow: hidden;
}

.stats::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 80vw;
    height: 80vw;
    max-width: 900px;
    max-height: 900px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(229, 165, 27, 0.12), transparent 60%);
    pointer-events: none;
}

.stats__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
}

.stat {
    text-align: center;
    padding: 0.75rem 1.5rem;
    position: relative;
}

.stat + .stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: linear-gradient(transparent, rgba(229, 165, 27, 0.5), transparent);
}

.stat__num {
    display: block;
    font-family: var(--ff-display);
    font-size: clamp(3.2rem, 7vw, 6rem);
    line-height: 1;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 4px 20px rgba(229, 165, 27, 0.25);
}

.stat__label {
    display: block;
    margin-top: 0.85rem;
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: clamp(0.72rem, 1.1vw, 0.85rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-silver);
}

/* =====================================================================
   7. BEFORE & AFTER TRANSFORMATION
   ===================================================================== */
.bar {
    margin-bottom: 1.75rem;
}

.bar__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: var(--light-text);
}

.bar__top b {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 1.45rem;
    color: var(--gold-deep);
}

.bar__track {
    height: 10px;
    background: rgba(9, 10, 12, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.bar__fill {
    display: block;
    height: 100%;
    width: var(--v);
    background: linear-gradient(90deg, var(--gold-deep), var(--gold));
    border-radius: 5px;
    transition: width 1.6s var(--ease-smooth) 0.3s;
}

.js .rv:not(.is-in) .bar__fill {
    width: 0;
}

.bars__note {
    margin-top: 1.5rem;
    font-size: 0.82rem;
    color: var(--light-muted);
    font-style: italic;
}

/* Interactive Slider */
.ba {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--gold);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    user-select: none;
    touch-action: pan-y;
    border-radius: 4px;
}

.ba .ph {
    aspect-ratio: 10 / 7;
}

.ba__before {
    position: absolute;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.ba__tag {
    position: absolute;
    top: 1.25rem;
    z-index: 3;
    padding: 0.45rem 1rem;
    background: rgba(9, 10, 12, 0.85);
    color: var(--text-white);
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 2px;
    pointer-events: none;
}

.ba__tag--l { left: 1.25rem; border-left: 3px solid var(--gold); }
.ba__tag--r { right: 1.25rem; background: var(--gold); color: var(--black); }

.ba__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos, 50%);
    width: 3px;
    margin-left: -1.5px;
    background: var(--gold);
    z-index: 4;
    pointer-events: none;
}

.ba__handle i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--black);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    font-size: 1rem;
}

.ba__range {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

/* =====================================================================
   8. SUCCESS STORIES
   ===================================================================== */
.story {
    position: relative;
    background: var(--charcoal-card);
    border: 1px solid var(--line-dark);
    padding: clamp(1.75rem, 3.5vw, 2.75rem);
    border-radius: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.story__title {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.story__media {
    position: relative;
    margin-bottom: 1.5rem;
}

.story__media::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--gold);
    transform: translate(14px, 14px);
    z-index: 0;
    transition: transform 0.4s var(--ease-smooth);
}

.story__media:hover::before {
    transform: translate(8px, 8px);
}

.story__media .ph {
    position: relative;
    z-index: 1;
    background: var(--black);
}

.story__media .ph > img {
    object-fit: contain;
    background: var(--black);
}

.story__caption {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-silver);
    margin: 0;
}

@media (min-width: 992px) {
    .story--drop {
        margin-top: 5rem;
    }
}

/* =====================================================================
   9. OUR TRAINERS
   ===================================================================== */
.trainers {
    align-items: stretch;
}

.trainer {
    background: var(--light-card);
    border: 1px solid var(--line-light);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), border-color 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.trainer:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.trainer__media {
    position: relative;
    overflow: hidden;
}

.trainer__media img,
.trainer__media .ph > img {
    object-position: top center;
}

.trainer__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(9, 10, 12, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.trainer__body {
    padding: 1.75rem 1.5rem 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trainer__body h3 {
    font-size: 1.55rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
    color: var(--light-text);
}

.trainer__role {
    display: inline-block;
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin: 0;
}

/* =====================================================================
   10. VIDEO & GALLERY PROMOTION (SPLIT-SCREEN CINEMATIC)
   ===================================================================== */
.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--black);
}

.duo__panel {
    position: relative;
    min-height: clamp(440px, 46vw, 620px);
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--text-white);
}

.duo__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(9, 10, 12, 0.92) 0%, rgba(9, 10, 12, 0.45) 100%);
}

.duo__panel--gallery .duo__shade {
    background: linear-gradient(270deg, rgba(9, 10, 12, 0.92) 0%, rgba(9, 10, 12, 0.45) 100%);
}

.duo__panel .ph > img {
    transition: transform 1.5s var(--ease-smooth);
}

.duo__panel:hover .ph > img {
    transform: scale(1.08);
}

.duo__content {
    position: relative;
    z-index: 2;
    padding: clamp(2.5rem, 6vw, 5.5rem);
    max-width: 640px;
}

.duo__eyebrow {
    display: inline-block;
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.duo__title {
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.duo__desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-silver);
    margin-bottom: 2rem;
}

/* Play Button */
.play {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2px solid var(--text-white);
    background: rgba(9, 10, 12, 0.5);
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding-left: 4px;
    transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease-smooth);
}

.play::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px solid rgba(229, 165, 27, 0.65);
    animation: ef-ring 2.8s ease-out infinite;
}

@keyframes ef-ring {
    from { transform: scale(0.85); opacity: 1; }
    to { transform: scale(1.35); opacity: 0; }
}

.play:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: scale(1.08);
}

/* Video Modal */
.vmodal {
    width: min(960px, 94vw);
    padding: 0;
    border: 1px solid var(--gold);
    background: var(--black);
    color: var(--text-white);
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.vmodal::backdrop {
    background: rgba(0, 0, 0, 0.88);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.vmodal__video {
    display: block;
    width: 100%;
    max-height: 80vh;
    background: #000;
}

.vmodal__msg {
    padding: 3.5rem 1.5rem;
    text-align: center;
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-silver);
}

.vmodal__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--gold);
    color: var(--black);
    cursor: pointer;
    font-size: 1.1rem;
    display: grid;
    place-items: center;
    transition: transform 0.25s;
}

.vmodal__close:hover {
    transform: scale(1.1);
}

/* =====================================================================
   11. TRAINING SCHEDULES
   ===================================================================== */
#schedules {
    position: relative;
    background-color: var(--black);
    background-image:
        linear-gradient(180deg, rgba(9, 10, 12, 0.7) 0%, rgba(9, 10, 12, 0.35) 45%, rgba(9, 10, 12, 0.45) 70%, rgba(9, 10, 12, 0.85) 100%),
        url('../assets/Moody%20Gym%20Training%20Background_result.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.sched {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.sched__item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: rgba(20, 22, 25, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1.85rem;
    border: 1px solid var(--line-dark);
    border-bottom: 3px solid transparent;
    border-radius: 3px;
    transition: transform 0.4s var(--ease-smooth),
                border-bottom-color 0.4s,
                box-shadow 0.4s,
                background 0.3s;
}

.sched__item:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--gold);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    background: rgba(32, 35, 40, 0.95);
}

.sched__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: var(--charcoal-dark);
    color: var(--gold);
    font-size: 1.55rem;
    border-radius: 3px;
    border: 1px solid var(--line-dark);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.sched__item:hover .sched__icon {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.sched h3 {
    font-size: 1.45rem;
    margin-bottom: 0.25rem;
    color: var(--text-white);
}

.sched p {
    margin: 0 0 0.3rem;
    color: var(--text-silver);
    font-size: 0.92rem;
}

.sched b {
    display: inline-block;
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

/* =====================================================================
   12. MEMBERSHIP PRICING (INVEST IN YOUR FITNESS)
   ===================================================================== */
.sec--pricing {
    overflow: hidden;
}

.sec--pricing::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 95vw;
    height: 65vw;
    max-width: 1200px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(229, 165, 27, 0.12), transparent 65%);
    pointer-events: none;
}

.plans > [class*="col"] {
    display: flex;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: clamp(2rem, 3.5vw, 2.75rem);
    background: var(--charcoal-card);
    border: 1px solid var(--line-dark);
    border-radius: 4px;
    transition: transform 0.45s var(--ease-smooth),
                border-color 0.4s,
                box-shadow 0.45s;
}

.plan:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.6);
}

.plan__pkg {
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.plan__title {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    margin: 0.65rem 0 0.75rem;
    color: var(--text-white);
}

.plan__desc {
    color: var(--text-silver);
    font-size: 0.94rem;
    min-height: 2.8em;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line-dark);
    margin-bottom: 1.5rem;
}

.plan__list {
    margin: 0 0 2rem;
    flex: 1;
}

.plan__list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px dashed var(--line-dark);
}

.plan__list i {
    color: var(--gold);
    font-size: 0.85rem;
}

.plan__list span {
    flex: 1;
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-white);
}

.plan__list b {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 1.55rem;
    letter-spacing: 0.02em;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}

/* Featured Membership Plan (PLAN 02) */
.plan--featured {
    border: 2px solid var(--gold);
    background: linear-gradient(180deg, #24272D 0%, var(--charcoal-card) 100%);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(229, 165, 27, 0.15);
}

.plan__badge-featured {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1.2rem;
    background: var(--gold);
    color: var(--black);
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border-radius: 2px;
    box-shadow: 0 6px 16px rgba(229, 165, 27, 0.4);
}

@media (min-width: 992px) {
    .plan--featured {
        transform: scale(1.04);
        z-index: 2;
    }
    .plan--featured:hover {
        transform: scale(1.04) translateY(-8px);
    }
}

/* =====================================================================
   13. CLIENT REVIEWS
   ===================================================================== */
.reviews__track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0.25rem 1.5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.reviews__track::-webkit-scrollbar {
    display: none;
}

.review {
    flex: 0 0 min(360px, 86%);
    scroll-snap-align: start;
    background: var(--charcoal-card);
    color: var(--text-silver);
    padding: 2rem;
    border: 1px solid var(--line-dark);
    border-top: 4px solid var(--gold);
    border-radius: 3px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.review__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.review__head > div {
    flex: 1;
    line-height: 1.3;
    min-width: 0;
}

.review__head b {
    display: block;
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-white);
}

.review__head small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.review__avatar {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--charcoal-dark);
    color: var(--gold);
    border: 1px solid var(--line-dark);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.review__g {
    font-size: 1.4rem;
    color: #4285F4;
}

.stars {
    color: #FBBC04;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.stars--sm {
    font-size: 0.82rem;
    margin: 0 0 0 0.5rem;
    white-space: nowrap;
}

.review p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-silver);
    margin: 0;
    flex: 1;
}

.reviews__ctrl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-dark);
}

.reviews__score {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-silver);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.reviews__score > i {
    color: #4285F4;
}

.reviews__score b {
    color: var(--text-white);
}

.reviews__btns {
    display: flex;
    gap: 0.65rem;
}

.reviews__btns button {
    width: 48px;
    height: 48px;
    border: 1px solid var(--line-dark);
    background: var(--charcoal-card);
    color: var(--gold);
    cursor: pointer;
    border-radius: 2px;
    display: grid;
    place-items: center;
    transition: background 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}

.reviews__btns button:hover:not(:disabled) {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.reviews__btns button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* =====================================================================
   14. CONTACT SECTION
   ===================================================================== */
.field {
    position: relative;
    margin-bottom: 1.5rem;
}

.field label {
    display: block;
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
    color: var(--light-text);
}

.field input,
.field textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(9, 10, 12, 0.18);
    border-radius: 3px;
    background: #FFFFFF;
    font-family: var(--ff-body);
    font-size: 0.98rem;
    color: var(--light-text);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.field textarea {
    resize: vertical;
    min-height: 140px;
}

.field input:focus,
.field textarea:focus {
    outline: 0;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(229, 165, 27, 0.2);
}

.field.has-error input,
.field.has-error textarea {
    border-color: #D32F2F;
}

.field__err {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #D32F2F;
    font-weight: 600;
}

.contact__lead {
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.cinfo {
    display: grid;
    gap: 1.25rem;
}

.cinfo__item {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    background: var(--light-card);
    padding: 1.6rem 1.75rem;
    border-left: 4px solid var(--gold);
    border: 1px solid var(--line-light);
    border-left-width: 4px;
    border-left-color: var(--gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s;
}

.cinfo__item:hover {
    transform: translateX(6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.cinfo__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    background: var(--black);
    color: var(--gold);
    font-size: 1.25rem;
    flex-shrink: 0;
    border-radius: 2px;
}

.cinfo h4 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    color: var(--light-text);
}

.cinfo p {
    margin: 0;
    color: var(--light-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cinfo a {
    color: var(--light-text);
    transition: color 0.3s;
}

.cinfo a:hover {
    color: var(--gold-deep);
}

/* =====================================================================
   15. GOOGLE MAPS
   ===================================================================== */
.map {
    position: relative;
    background: var(--charcoal-dark);
    line-height: 0;
    border-top: 1px solid var(--line-gold);
    border-bottom: 1px solid var(--line-gold);
}

.map iframe {
    display: block;
    width: 100%;
    height: clamp(340px, 45vw, 500px);
    border: 0;
    filter: grayscale(0.2) contrast(1.08);
}

/* =====================================================================
   RESPONSIVE DESIGN SYSTEM
   ===================================================================== */
@media (max-width: 1199.98px) {
    .strip__item {
        flex-basis: calc((100% - 2 * 1rem) / 3);
    }
    .event__meta {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .hero {
        padding: calc(var(--hdr-h) + 1.5rem) 0 9.5rem;
    }
    .hero__title {
        font-size: clamp(2.8rem, 8vw, 4rem);
    }
    .hero__shade {
        background:
            linear-gradient(90deg, rgba(9, 10, 12, 0.92) 0%, rgba(9, 10, 12, 0.6) 100%),
            linear-gradient(0deg, rgba(9, 10, 12, 0.98) 0%, transparent 40%);
    }
    .hero__arrow {
        top: auto;
        bottom: 7.8rem;
        margin: 0;
        width: 48px;
        height: 48px;
    }
    .hero__arrow--prev {
        left: auto;
        right: 80px;
    }
    .hero__arrow--next {
        right: 20px;
    }
    .hero__foot {
        bottom: 9rem;
    }
    .strip {
        margin-top: -6rem;
        background: linear-gradient(180deg, transparent 6rem, var(--light-bg) 6rem);
    }
    .poster {
        margin: 0 20px 0 0;
    }
    .about-media {
        margin: 0 auto;
    }
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 2.5rem;
    }
    .stat:nth-child(3)::before {
        display: none;
    }
    .sched {
        grid-template-columns: repeat(2, 1fr);
    }
    .duo {
        grid-template-columns: 1fr;
    }
    .duo__panel {
        min-height: 420px;
    }
    .plans > [class*="col"] {
        display: block;
    }
    .plan--featured {
        transform: none;
    }
    .plan__desc {
        min-height: 0;
    }
    .story__media {
        margin: 0 auto 1.5rem 0;
    }
}

@media (max-width: 767.98px) {
    .strip__item {
        flex-basis: 64%;
    }
    .event__meta {
        grid-template-columns: 1fr;
    }
    .event {
        padding-left: 1.25rem;
    }
    .programs > [class*="col"],
    .plans > [class*="col"] {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
    .reviews__ctrl {
        justify-content: center;
        text-align: center;
    }
    .sched__item {
        padding: 1.4rem;
        gap: 1.1rem;
    }
    .sched__icon {
        width: 54px;
        height: 54px;
    }
    .ba__handle i {
        width: 44px;
        height: 44px;
        margin: -22px 0 0 -22px;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: max(100svh, 620px);
        padding-bottom: 8.5rem;
    }
    .hero__title {
        font-size: clamp(2.3rem, 9.5vw, 3rem);
    }
    .hero__cta .btn-ef {
        flex: 1 1 100%;
    }
    .strip {
        margin-top: -5.5rem;
        background: linear-gradient(180deg, transparent 5.5rem, var(--light-bg) 5.5rem);
    }
    .strip__item {
        flex-basis: 80%;
        min-width: 0;
    }
    .stat {
        padding: 0.5rem;
    }
    .stat__label {
        letter-spacing: 0.14em;
    }
    .sched {
        grid-template-columns: 1fr;
    }
    .about-media {
        padding: 0 0 1.5rem 1.5rem;
    }
    .about-media__frame {
        right: 1.5rem;
        top: 1.5rem;
    }
    .play {
        width: 76px;
        height: 76px;
    }
    .review {
        flex-basis: 90%;
    }
    .cinfo__item {
        padding: 1.25rem;
        gap: 1rem;
    }
    .cinfo__icon {
        width: 46px;
        height: 46px;
    }
    .btn-ef {
        padding: 1rem 1.6rem;
    }
    .contact__lead {
        font-size: 1.7rem;
    }
}

@media (max-width: 374.98px) {
    .hero__title {
        font-size: 2.6rem;
    }
    .stat__num {
        font-size: 2.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__slide .ph > img {
        animation: none;
    }
}
