/* =========================================================
   MIND POWER ARTISTS
   SERVICES PAGE
   Public Website — Landing Page System
========================================================= */

.services-hero {
    position: relative;
    overflow: hidden;

    min-height: 620px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 78% 35%,
            rgba(244,123,32,.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 12% 80%,
            rgba(216,164,90,.06),
            transparent 26%
        ),
        var(--mpa-black);
}

.services-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );

    pointer-events: none;
}

.services-hero-glow {
    position: absolute;

    width: 520px;
    height: 520px;

    right: -120px;
    top: 20px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(244,123,32,.22),
            transparent 68%
        );

    filter: blur(30px);

    pointer-events: none;
}

.services-hero-container {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, .95fr);

    align-items: center;

    gap: 80px;
}

.services-hero-content {
    max-width: 680px;
}

.services-hero-content h1 {
    margin: 14px 0 0;

    max-width: 700px;

    color: #fff;

    font-size:
        clamp(
            48px,
            6vw,
            76px
        );

    line-height: .98;

    letter-spacing: -.045em;

    font-weight: 800;
}

.services-hero-content h1 span {
    color: var(--mpa-orange);
}

.services-hero-content p {
    max-width: 610px;

    margin: 28px 0 0;

    color: var(--mpa-muted);

    font-size: 17px;

    line-height: 1.8;
}

.services-hero .hero-actions {
    margin-top: 34px;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.services-hero-visual {
    position: relative;

    min-height: 460px;

    display: grid;

    place-items: center;
}

.service-orbit {
    position: relative;

    width: 390px;
    height: 390px;

    display: grid;

    place-items: center;
}

.orbit-ring {
    position: absolute;

    border-radius: 50%;

    border: 1px solid
        rgba(244,123,32,.25);

    animation:
        serviceOrbitRotate
        18s linear infinite;
}

.orbit-ring-one {
    width: 100%;
    height: 100%;
}

.orbit-ring-two {
    width: 76%;
    height: 76%;

    border-color:
        rgba(255,255,255,.10);

    animation-duration: 14s;

    animation-direction: reverse;
}

.orbit-ring-three {
    width: 52%;
    height: 52%;

    border-color:
        rgba(244,123,32,.35);

    animation-duration: 10s;
}

.orbit-core {
    position: relative;
    z-index: 3;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    background:
        radial-gradient(
            circle at 35% 30%,
            #292929,
            #0b0b0b 70%
        );

    border:
        1px solid
        rgba(244,123,32,.45);

    box-shadow:
        0 0 80px
        rgba(244,123,32,.16),
        inset 0 0 40px
        rgba(244,123,32,.05);
}

.orbit-core span {
    color: var(--mpa-orange-light);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .22em;
}

.orbit-core strong {
    margin-top: 8px;

    color: #fff;

    font-size: 21px;

    letter-spacing: .08em;
}

@keyframes serviceOrbitRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   INTRO
========================================================= */

.services-intro {
    padding: 90px 0;

    background: #0c0c0c;

    border-top:
        1px solid var(--mpa-border);

    border-bottom:
        1px solid var(--mpa-border);
}


/* =========================================================
   SERVICES LIST
========================================================= */

.services-list-section {
    padding: 110px 0;

    background: var(--mpa-black);
}

.services-toolbar {
    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 50px;
}

.services-count {
    display: inline-flex;

    color: var(--mpa-orange-light);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .18em;
}

.services-toolbar h2 {
    margin: 12px 0 0;

    color: #fff;

    font-size:
        clamp(
            34px,
            4vw,
            52px
        );

    line-height: 1.05;

    letter-spacing: -.035em;
}


/* =========================================================
   FILTER
========================================================= */

.service-filter {
    display: flex;

    align-items: center;

    gap: 8px;

    padding: 6px;

    border:
        1px solid
        var(--mpa-border);

    border-radius: 14px;

    background:
        rgba(255,255,255,.025);
}

.filter-btn {
    border: 0;

    padding: 10px 15px;

    border-radius: 9px;

    color: #888;

    background: transparent;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: var(--transition);
}

.filter-btn:hover {
    color: #fff;
}

.filter-btn.active {
    color: #080808;

    background: var(--mpa-orange);

    box-shadow:
        0 8px 24px
        rgba(244,123,32,.18);
}


/* =========================================================
   SERVICE GRID
========================================================= */

.services-list-section .service-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.services-list-section .service-card {
    position: relative;

    min-height: 340px;

    display: flex;

    flex-direction: column;

    padding: 28px;

    border:
        1px solid
        var(--mpa-border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            #151515,
            #0d0d0d
        );

    overflow: hidden;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease,
        opacity .3s ease;
}

.services-list-section .service-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    top: -90px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(244,123,32,.12),
            transparent 70%
        );

    pointer-events: none;
}

.services-list-section .service-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(244,123,32,.40);

    box-shadow:
        0 25px 60px
        rgba(0,0,0,.40);
}

.service-card-top {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.service-number,
.weekly-number {
    color: rgba(255,255,255,.35);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .15em;
}

.service-icon {
    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    color: #080808;

    background: var(--mpa-orange);

    font-size: 19px;

    box-shadow:
        0 10px 25px
        rgba(244,123,32,.15);
}

.service-type {
    display: block;

    margin-top: 28px;

    color: var(--mpa-orange-light);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .15em;
}

.services-list-section .service-card h3 {
    margin: 10px 0;

    color: #fff;

    font-size: 20px;

    line-height: 1.3;
}

.services-list-section .service-card p {
    margin: 0;

    color: #858585;

    font-size: 13px;

    line-height: 1.7;
}

.service-card-bottom {
    margin-top: auto;

    padding-top: 25px;

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 15px;

    border-top:
        1px solid
        var(--mpa-border);
}

.service-card-bottom strong {
    display: block;

    color: var(--mpa-orange-light);

    font-size: 17px;
}

.service-card-bottom small {
    display: block;

    margin-top: 3px;

    color: #666;

    font-size: 10px;
}

.service-link {
    color: var(--mpa-orange-light);

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    transition: var(--transition);
}

.service-link:hover {
    color: #fff;
}

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

.service-card.featured {
    border-color:
        rgba(244,123,32,.30);
}

.service-badge {
    position: absolute;

    top: 28px;
    right: 82px;

    padding: 6px 9px;

    border-radius: 20px;

    color: #080808;

    background: var(--mpa-orange);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .1em;
}


/* =========================================================
   WEEKLY PROGRAMS
========================================================= */

.weekly-programs-section {
    padding: 110px 0;

    background: #0c0c0c;

    border-top:
        1px solid var(--mpa-border);

    border-bottom:
        1px solid var(--mpa-border);
}

.weekly-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.weekly-card {
    position: relative;

    padding: 30px;

    min-height: 300px;

    display: flex;

    flex-direction: column;

    border:
        1px solid var(--mpa-border);

    border-radius: var(--radius);

    background:
        rgba(255,255,255,.018);

    transition: var(--transition);
}

.weekly-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(244,123,32,.35);
}

.weekly-card h3 {
    margin: 15px 0 10px;

    color: #fff;

    font-size: 24px;
}

.weekly-card p {
    color: #858585;

    font-size: 13px;

    line-height: 1.7;
}

.weekly-details {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 15px;
}

.weekly-details span {
    padding: 7px 10px;

    border-radius: 20px;

    color: #999;

    background:
        rgba(255,255,255,.05);

    font-size: 10px;
}

.weekly-bottom {
    margin-top: auto;

    padding-top: 22px;

    border-top:
        1px solid var(--mpa-border);
}

.weekly-bottom strong {
    color: var(--mpa-orange-light);

    font-size: 17px;
}

.weekly-bottom small {
    display: block;

    margin-top: 3px;

    color: #666;

    font-size: 10px;
}


/* =========================================================
   PROCESS
========================================================= */

.service-process-section {
    padding: 110px 0;

    background: var(--mpa-black);
}

.service-process-section .process-grid {
    display: grid;

    grid-template-columns:
        1fr 60px 1fr 60px 1fr;

    align-items: center;

    gap: 20px;

    margin-top: 55px;
}

.service-process-section .process-item {
    text-align: center;
}

.service-process-section .process-number {
    width: 54px;
    height: 54px;

    display: grid;

    place-items: center;

    margin: 0 auto 20px;

    border:
        1px solid
        rgba(244,123,32,.35);

    border-radius: 50%;

    color: var(--mpa-orange-light);

    background:
        rgba(244,123,32,.05);

    font-size: 12px;

    font-weight: 800;
}

.service-process-section .process-item h3 {
    margin: 0 0 9px;

    color: #fff;

    font-size: 18px;
}

.service-process-section .process-item p {
    max-width: 260px;

    margin: auto;

    color: #777;

    font-size: 12px;

    line-height: 1.7;
}

.service-process-section .process-line {
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(244,123,32,.45),
            transparent
        );
}


/* =========================================================
   CTA
========================================================= */

.services-cta {
    position: relative;

    overflow: hidden;

    padding: 120px 0;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(244,123,32,.13),
            transparent 45%
        ),
        #0b0b0b;

    border-top:
        1px solid var(--mpa-border);
}

.services-cta-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(244,123,32,.10),
            transparent 68%
        );

    filter: blur(25px);

    pointer-events: none;
}

.services-cta-content {
    position: relative;

    z-index: 2;

    max-width: 760px;

    margin-inline: auto;
}

.services-cta h2 {
    margin: 15px 0 0;

    color: #fff;

    font-size:
        clamp(
            36px,
            5vw,
            58px
        );

    line-height: 1.05;

    letter-spacing: -.04em;
}

.services-cta h2 span {
    color: var(--mpa-orange);
}

.services-cta p {
    max-width: 600px;

    margin: 22px auto 0;

    color: #888;

    font-size: 15px;

    line-height: 1.8;
}

.services-cta .hero-actions {
    justify-content: center;

    margin-top: 32px;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {

    .services-hero-container {
        grid-template-columns:
            1fr 380px;

        gap: 45px;
    }

    .services-list-section .service-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

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


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 850px) {

    .services-hero {
        min-height: auto;

        padding: 90px 0;
    }

    .services-hero-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .services-hero-content {
        text-align: center;

        margin-inline: auto;
    }

    .services-hero-content h1 {
        font-size:
            clamp(
                42px,
                11vw,
                62px
            );
    }

    .services-hero-content p {
        margin-inline: auto;
    }

    .services-hero .hero-actions {
        justify-content: center;
    }

    .services-hero-visual {
        min-height: 360px;
    }

    .service-orbit {
        width: 330px;
        height: 330px;
    }

    .services-toolbar {
        display: block;
    }

    .service-filter {
        width: 100%;

        margin-top: 25px;

        overflow-x: auto;

        justify-content: flex-start;

        scrollbar-width: none;
    }

    .service-filter::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex: 0 0 auto;
    }

    .service-process-section .process-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .service-process-section .process-line {
        width: 1px;

        height: 35px;

        margin-inline: auto;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 620px) {

    .services-hero {
        padding: 75px 0;
    }

    .services-hero-content h1 {
        font-size: 42px;
    }

    .services-hero-content p {
        font-size: 14px;
    }

    .services-hero .hero-actions,
    .services-cta .hero-actions {
        flex-direction: column;

        width: 100%;
    }

    .services-hero .hero-actions .btn,
    .services-cta .hero-actions .btn {
        width: 100%;
    }

    .service-orbit {
        width: 280px;
        height: 280px;
    }

    .orbit-core {
        width: 140px;
        height: 140px;
    }

    .orbit-core strong {
        font-size: 16px;
    }

    .services-intro,
    .services-list-section,
    .weekly-programs-section,
    .service-process-section {
        padding: 75px 0;
    }

    .services-list-section .service-grid,
    .weekly-grid {
        grid-template-columns: 1fr;
    }

    .services-list-section .service-card {
        min-height: 315px;

        padding: 24px;
    }

    .services-toolbar h2 {
        font-size: 36px;
    }

    .service-card-bottom {
        align-items: center;
    }

    .services-cta {
        padding: 85px 0;
    }
}
/* =========================================================
   SERVICES CTA — MOBILE WIDTH FIX
========================================================= */

@media (max-width: 768px) {

    .services-cta {
        overflow: hidden;
    }

    .services-cta-content {
        width: min(
            calc(100% - 30px),
            var(--container)
        );

        max-width: 100%;

        margin-left: auto;
        margin-right: auto;

        box-sizing: border-box;
    }

    .services-cta .hero-actions {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        width: 100%;

        max-width: 100%;

        box-sizing: border-box;

        gap: 12px;
    }

    .services-cta .hero-actions .btn {
        display: flex;

        width: 100%;

        max-width: 100%;

        min-width: 0;

        box-sizing: border-box;

        margin: 0;

        white-space: normal;

        text-align: center;
    }

}


/* =========================================================
   400px / SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .services-cta-content {
        width: calc(100% - 30px);
    }

    .services-cta .hero-actions {
        width: 100%;
    }

    .services-cta .hero-actions .btn {
        width: 100%;

        min-height: 56px;

        padding-left: 15px;
        padding-right: 15px;

        font-size: 13px;
    }

}
/* =========================================================
   SERVICES HERO — MOBILE BUTTONS
========================================================= */

@media (max-width: 620px) {

    .services-hero .hero-actions {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        width: 100%;

        max-width: 100%;

        box-sizing: border-box;

        gap: 12px;
    }

    .services-hero .hero-actions .btn {
        width: 100%;

        max-width: 100%;

        min-width: 0;

        box-sizing: border-box;

        margin: 0;
    }

}
@media (max-width: 768px) {

    .services-hero,
    .services-intro,
    .services-list-section,
    .weekly-programs-section,
    .service-process-section,
    .services-cta {
        width: 100%;
        max-width: 100%;

        overflow-x: hidden;
    }

    .services-hero-container,
    .services-cta-content {
        min-width: 0;
        max-width: 100%;
    }

}

/* =========================================================
   SERVICES — NAVBAR DESKTOP SAFETY
========================================================= */
@media (min-width:951px) {
    .mobile-menu-btn { display:none !important; }
    .mobile-nav, .mobile-nav.open { display:none !important; visibility:hidden !important; pointer-events:none !important; }
}


/* =========================================================
   HAMBURGER ICON — FINAL PRODUCTION OVERRIDE
   Keep the three lines clearly visible on dark MPA UI.
========================================================= */
.mobile-menu-btn {
    position: relative;
    z-index: 3005;
    color: #ffffff !important;
}

.mobile-menu-btn span,
.mobile-menu-btn span:nth-child(1),
.mobile-menu-btn span:nth-child(2),
.mobile-menu-btn span:nth-child(3) {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    min-height: 2px !important;
    margin: 5px 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 0 !important;
    transform: none;
}

@media (max-width: 950px) {
    .mobile-menu-btn {
        display: inline-flex !important;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }
}

@media (min-width: 951px) {
    .mobile-menu-btn {
        display: none !important;
    }
}


/* =========================================================
   CATALOGUE LAYOUT (MPA-101)
   2-column range: centre an odd last card at normal width.
========================================================= */

@media (max-width: 1050px) {
    .services-list-section .service-grid > .service-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 620px) {
    .services-list-section .service-grid > .service-card:last-child:nth-child(odd) {
        grid-column: auto;
        justify-self: stretch;
        width: auto;
    }
}


/* ===== FOCUS STATES (MPA-065) ===== */

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--mpa-orange-light, #ff9b4a);

    outline-offset: 4px;
}

/* ===== LOADING / ERROR STATE (MPA-110) ===== */

.services-state {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 16px;

    padding: 56px 24px;

    border: 1px dashed rgba(244,123,32,0.3);

    border-radius: var(--radius-lg, 20px);

    background: rgba(244,123,32,0.03);

    text-align: center;
}

.services-state p {
    max-width: 520px;

    margin: 0;

    color: var(--mpa-text, #d7d7d7);

    font-size: 15px;

    line-height: 1.7;
}

.services-state-loader {
    width: 34px;
    height: 34px;

    border: 3px solid rgba(255,255,255,0.12);
    border-top-color: var(--mpa-orange, #f47b20);

    border-radius: 50%;

    animation: services-spin 0.9s linear infinite;
}

.services-state.is-error .services-state-loader {
    display: none;
}

.services-state[hidden],
.services-state .btn[hidden],
.service-filter[hidden] {
    display: none;
}

@keyframes services-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-state-loader {
        animation-duration: 2.4s;
    }
}
