body {
    margin: 0;
    padding-top: 80px;
    min-height: 100vh;
    position: relative;
    background-color: #dde3ea;
    overflow-x: hidden;
}

:root {
    --fusion-primary: #0a3d62;
    --fusion-secondary: #00a6d6;
    --fusion-accent: #2abf88;
    --fusion-bg: #eef7ff;
    --fusion-surface: #ffffff;
    --fusion-text: #223242;
    --fusion-title: #0a3d62;
    --fusion-subtitle: #4b6378;
    --fusion-table-wrapper-bg: #ffffff;
    --fusion-table-head-bg: #0a3d62;
    --fusion-table-row-bg: #ffffff;
    --fusion-table-row-alt-bg: #f4f7fb;
    --fusion-sidebar-bg: #ffffff;
    --fusion-sidebar-profile-bg: #f8fafc;
    --fusion-sidebar-text: #0a3d62;
    --fusion-sidebar-active: #2abf88;
    --fusion-sidebar-hover: #e5f1ff;
    --fusion-radius: 18px;
    --fusion-shadow: 0 18px 42px rgba(10, 61, 98, 0.12);
    --fusion-font: system-ui;
    --fusion-gym-icon-url: url('/img/logo.png');
}

/* fondo atenuado */
body::before {
    content: "";
    position: fixed;
    inset: 0;

    background-image: var(--fusion-gym-icon-url);
    background-repeat: repeat;
    background-position: center;
    background-size: 10%;

    opacity: 0.15;
    /* 🔥 transparencia */

    z-index: -1;
}

/* ===== HEADER ===== */
.navbar {
    background: white;
}

/* ========================= */
/*          LINKS            */
/* ========================= */
.navbar .nav-link {
    color: #c8f8ff !important;
    transition: 0.2s ease;
    font-size: 0.95rem;
    text-shadow: 0 0 4px rgba(0, 234, 255, 0.4);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #00eaff !important;
    text-shadow:
        0 0 8px #00eaff,
        0 0 20px rgba(0, 234, 255, 0.7);
    transform: translateX(5px);
}

/* ========================= */
/*    BOTÓN HAMBURGUESA      */
/* ========================= */
.navbar-toggler {
    border-color: #00eaff !important;
    box-shadow: 0 0 5px #00eaff;
    margin-left: auto;
}

.navbar-toggler-icon {
    filter: drop-shadow(0 0 6px #00eaff);
}

/* ========================= */
/*        MOBILE FIX         */
/* ========================= */
@media (max-width: 768px) {

    .navbar {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .navbar-brand img {
        height: 32px !important;
    }

    .navbar-toggler {
        padding: 4px 6px !important;
        margin-right: 0 !important;
        transform: translateY(2px);
        /* baja ligeramente el botón */
    }

    /* Evita que el scanline tape el botón */
    .navbar::before {
        z-index: -1 !important;
    }

    .navbar .container,
    .navbar .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-brand img {
        height: 42px !important;
    }
}

/* PC / Monitores grandes */
@media (min-width: 992px) {
    .navbar-brand img {
        height: 50px !important;
    }
}

/* ========================= */
/*          LOGO             */
/* ========================= */
.navbar-brand img {
    height: 30px;
    filter: drop-shadow(0 0 6px rgba(0, 234, 255, 0.6));
}

.logo-animado {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 1.2s ease-out forwards;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover neon */
.logo-animado:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px #00eaff;
}

.btn-fusion {
    background: linear-gradient(90deg, #ff8c00, #ff3b30);
    color: white;
    border: none;
}

/* === EVITA LA SUPERPOSICIÓN DE SLIDES === */
#heroCarousel {
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
}

/* MUY IMPORTANTE: así deben comportarse los items */
.carousel-item {
    position: relative !important;    /* ← CLAVE */
    display: none;    /* Bootstrap maneja esto */
    width: 100%;
    height: 100vh;    /* pantalla completa */
    background-size: cover;
    background-position: center;
}

/* SOLO el activo se ve */
.carousel-item.active {
    display: block !important;
}

/* === OVERLAY CORREGIDO (para que no apile slides) === */
.overlay-cyberpunk {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 20, 40, 0.35);    /* más suave */
    z-index: 1;
}

/* El contenido SIEMPRE por encima del overlay */
.hero-content {
    position: absolute;
    z-index: 2;
    text-align: left;
    padding: 120px 10%;
    color: white;
    bottom: 12%;         /* ← BAJA EL TEXTO */
    left: 8%;
}

.hero-content h1 {
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;

    /* Base más blanca con matiz naranja sutil */
    background: linear-gradient(90deg, #ffffff, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Borde tipo logo (negro suave) */
    -webkit-text-stroke: 1px #111;

    /* Brillo deportivo naranja pero sutil */
    text-shadow:
        2px 2px 0px rgba(0, 0, 0, 0.7),
        0 0 10px rgba(255, 140, 0, 0.6);

    line-height: 1.1;
}

.hero-content p {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 10px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
}

.btn-hero {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    background: #ff7a00;            /* NARANJA DEPORTIVO */
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;            /* ESQUINAS REDONDEADAS */
    text-decoration: none;
    transition: all .3s ease;
    border: none;
}

.btn-hero:hover {
    background: #ff5500;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 85, 0, 0.35);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 55px;
    height: 55px;
    background-color: #ff7a00;
    /* Naranja deportivo */
    background-size: 60%;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 122, 0, 0.8),
        0 0 25px rgba(255, 122, 0, 0.5);
    transition: all 0.3s ease;
}

/* Hover (efecto al pasar el mouse) */
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #ff5500;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 85, 0, 1);
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ff7a00;
    /* Naranja deportivo */
    border: none;
    margin: 0 6px;
    box-shadow: 0 0 8px rgba(255, 122, 0, 0.8);
    transition: all 0.3s ease;
}

/* Indicador activo */
.carousel-indicators .active {
    width: 16px;
    height: 16px;
    background-color: #ff5500;
    box-shadow: 0 0 15px rgba(255, 85, 0, 1);
    transform: scale(1.2);
}

/* Hover */
.carousel-indicators button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(255, 122, 0, 1);
}

/* ===============================
   SECCIÓN NOSOTROS - FUSION
================================ */
/* La sección Nosotros ocupa casi todo el alto de la pantalla,
   igual que tu hero */
/* ================= NOSOTROS ================= */

.nosotros-section {
    background: #f8f9fa;
}

/* ================= BLOQUE INICIAL ================= */

.nosotros-intro {
    height: 60vh;    
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f1f1f1 100%);
    text-align: center;
    padding: 40px;
}

.nosotros-intro-content {
    max-width: 900px;
}

/* LOGO MUCHO MÁS IMPONENTE */

.nosotros-logo {
    width: 800px;
    max-width: 90%;
    margin-bottom: 40px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.18));
    transition: transform 0.4s ease;
}

.nosotros-logo:hover {
    transform: scale(1.05);
}

/* ================= TARJETAS FULL SCREEN ================= */
.nosotros-card {
    display: flex;
    margin: 0;
    align-items: center;
    height: 70vh;
    background: #ffffff;
}

.nosotros-card.reverse {
    flex-direction: row-reverse;
}

.nosotros-card+.nosotros-card {
    margin-top: -5px;   /* elimina micro espacios */
}

/* TEXTO CENTRADO E IMPONENTE */
.nosotros-card .nosotros-texto {
    display: flex;
    padding: 60px 100px;
    flex-direction: column;
    justify-content: center;    /* centra vertical */
    align-items: center;    /* centra horizontal */
    text-align: center;    /* centra texto */
}

.nosotros-card .nosotros-texto p {
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 2;
    max-width: 650px;
    color: #444;
}

.nosotros-card .nosotros-texto h3 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: clamp(2px, 1vw, 8px);
    text-transform: uppercase;
    margin-bottom: 40px;

    color: #ff6a00;
    -webkit-text-stroke: 2px #111;
    text-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    background: linear-gradient(45deg, #ff6a00, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px #111;
}

/* Línea decorativa moderna */
.nosotros-card .nosotros-texto h3::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #000;
    margin: 25px auto 0;
}

.nosotros-imagen {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Imagen con zoom base cinematográfico */
.nosotros-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);    /* zoom inicial */
    transition: transform 1.2s ease;
}

/* Zoom suave al pasar */
.nosotros-card:hover img {
    transform: scale(1.15);
}

/* Overlay cinematográfico */
.nosotros-imagen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.05));
}

.nosotros-imagen::before {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.25);
}

.staff-home-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #eaf6f8 100%);
}

.staff-home-section h2 {
    color: #0a3d62;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    margin-bottom: 12px;
}

.staff-home-section p {
    color: #4c6172;
    font-size: 1.1rem;
}

.staff-home-card {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(10, 61, 98, 0.12);
    box-shadow: 0 18px 36px rgba(10, 61, 98, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.staff-home-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 46px rgba(10, 61, 98, 0.18);
}

.staff-home-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #ddebf1;
}

.staff-home-body {
    padding: 20px;
    text-align: center;
}

.staff-home-body h3 {
    color: #0a3d62;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.staff-home-body span {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, #007f8f, #2abf88);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    .nosotros-intro {
        height: auto;
        padding: 100px 20px;
    }

    .nosotros-titulo {
        font-size: 2.5rem;
    }

    .nosotros-card,
    .nosotros-card.reverse {
        flex-direction: column;
        height: auto;
    }

    .nosotros-texto {
        padding: 60px 30px;
    }

    .nosotros-imagen {
        height: 400px;
    }
}

@media (max-width: 768px) {

    /* Apilar vertical */
    .nosotros-card .row {
        flex-direction: column;
    }

    /* Altura más controlada */
    .nosotros-card {
        min-height: auto;
    }

    /* Imagen arriba con impacto */
    .nosotros-imagen {
        height: 300px;
        position: relative;
    }

    .nosotros-imagen img {
        height: 100%;
        object-fit: cover;
        transform: scale(1.05);
    }

    /* Overlay más fuerte en mobile */
    .nosotros-imagen::after {
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.35),
                rgba(0, 0, 0, 0.15));
    }

    /* Texto más compacto */
    .nosotros-texto {
        padding: 50px 30px;
    }

    .nosotros-texto h3 {
        font-size: clamp(1.6rem, 7vw, 2.3rem);
        letter-spacing: 2px;
        -webkit-text-stroke: 1px #111;
        margin-bottom: 20px;
    }

    .nosotros-texto p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

@media (max-width: 1024px) {
    .nosotros-texto h3 {
        font-size: clamp(1.8rem, 4vw, 3.2rem);
        letter-spacing: 4px;
    }
}

/* ===== SERVICIOS ===== */
.card-service {
    transition: 0.3s;
}

.card-service:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
}

.training-home-card {
    border: 1px solid rgba(255, 106, 0, 0.16);
    border-radius: 12px;
    color: #17202a;
    overflow: hidden;
}

.training-home-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.training-home-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.training-home-body h4 {
    margin-top: 0;
}

.training-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 14px;
    background: #0a3d62;
    color: #fff;
    font-size: 1.6rem;
}

.training-home-card h4 {
    color: #0a3d62;
    font-weight: 800;
}

/* ===== TIENDA HOME ===== */
.store-home-section {
    padding: 72px 0;
    background:
        radial-gradient(circle at top left, rgba(255, 106, 0, 0.18), transparent 34%),
        linear-gradient(135deg, #0a3d62, #13293d);
    color: #ffffff;
}

.store-home-head {
    max-width: 820px;
    margin: 0 auto 34px;
}

.store-home-head .section-title {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: 0.02em;
}

.store-home-head p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
}

.store-home-head strong {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    color: #17202a;
    background: #f1c40f;
    font-weight: 800;
}

.store-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: #f1c40f;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-category-list {
    display: grid;
    gap: 34px;
}

.store-category-block {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.store-category-block:first-child {
    padding-top: 0;
    border-top: 0;
}

.store-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.store-category-head h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 900;
}

.store-category-head span {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 999px;
    color: #17202a;
    background: #f1c40f;
    font-size: 0.82rem;
    font-weight: 800;
}

.store-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.store-product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 12px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 251, 0.9));
}

.store-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
}

.store-product-category {
    color: #f1c40f;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.store-product-body h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 800;
}

.store-product-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.store-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.store-product-footer strong {
    color: #f1c40f;
    font-size: 1.1rem;
}

.store-product-footer span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
    text-align: right;
}

.store-home-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
}

/* ===== ECOSISTEMA APPS ===== */
.apps-ecosystem-section {
    min-height: calc(100vh - 80px);
    padding: clamp(72px, 8vh, 110px) 0;
    background:
        radial-gradient(circle at top left, rgba(0, 198, 255, .18), transparent 32rem),
        radial-gradient(circle at bottom right, rgba(255, 138, 0, .14), transparent 28rem),
        #eef6fb;
    display: flex;
    align-items: center;
}

.apps-ecosystem-head {
    max-width: 940px;
    margin: 0 auto clamp(34px, 5vh, 56px);
}

.apps-ecosystem-head .section-title {
    font-size: clamp(1.85rem, 4vw, 2.7rem);
    overflow-wrap: anywhere;
}

.apps-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(10, 61, 98, .1);
    color: #0a3d62;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .78rem;
}

.apps-ecosystem-head p {
    color: #4b6378;
    font-size: 1.12rem;
    margin: 0;
}

.apps-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 2.4vw, 34px);
}

.app-ecosystem-card {
    position: relative;
    min-width: 0;
    min-height: clamp(520px, 58vh, 680px);
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    background: #061323;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 20px 45px rgba(10, 31, 58, .18);
    display: flex;
    flex-direction: column;
    isolation: isolate;
    transition: transform .25s ease, box-shadow .25s ease;
}

.app-ecosystem-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 58%;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(4, 15, 30, .02) 0%, rgba(4, 15, 30, .1) 58%, rgba(4, 15, 30, .72) 100%),
        radial-gradient(circle at 82% 16%, rgba(255, 255, 255, .18), transparent 11rem);
    pointer-events: none;
}

.app-ecosystem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 58px rgba(10, 31, 58, .26);
}

.app-ecosystem-image {
    position: relative;
    z-index: -1;
    width: 100%;
    height: clamp(270px, 33vh, 390px);
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    flex: 0 0 auto;
}

.app-client-card .app-ecosystem-image,
.app-teacher-card .app-ecosystem-image {
    object-position: top center;
}

.app-ecosystem-body {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin-top: auto;
    padding: clamp(24px, 2.6vw, 36px);
    background:
        linear-gradient(180deg, rgba(6, 19, 35, .96), rgba(5, 15, 29, 1));
    border-top: 1px solid rgba(99, 247, 255, .18);
}

.app-ecosystem-card span {
    color: #63f7ff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .78rem;
}

.app-ecosystem-card h3 {
    margin: 8px 0 12px;
    color: #fff;
    font-weight: 900;
    font-size: 1.45rem;
}

.app-ecosystem-card p {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.training-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.training-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef6fb;
    color: #0a3d62;
    font-size: 0.85rem;
    font-weight: 700;
}

.training-benefits {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.training-benefits-short {
    margin-bottom: 18px;
}

.training-benefits li {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    color: #263238;
}

.training-benefits i {
    color: #198754;
}

.btn-training-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #ff7a18, #ff3d71);
    color: #ffffff;
    font-weight: 800;
}

.btn-training-detail:hover {
    color: #ffffff;
    filter: brightness(1.05);
}

.training-days {
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.training-detail-modal {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
}

.training-detail-modal .modal-header {
    background: linear-gradient(135deg, #0a3d62, #00a6d6);
    color: #ffffff;
}

.training-detail-modal .btn-close {
    filter: invert(1);
}

.training-detail-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 16px;
}

.training-detail-meta {
    margin-bottom: 20px;
}

.training-detail-day {
    padding: 18px;
    margin-bottom: 16px;
    border: 1px solid rgba(10, 61, 98, 0.12);
    border-radius: 14px;
    background: #f8fbff;
}

.training-detail-day-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.training-detail-day-head span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #ff7a18;
    color: #ffffff;
    font-weight: 800;
}

.training-detail-day-head strong {
    color: #0a3d62;
    font-size: 1.15rem;
}

.training-detail-exercise {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px;
    margin-top: 12px;
    border-radius: 12px;
    background: #ffffff;
    border-left: 4px solid #00a6d6;
}

.training-detail-exercise-image {
    width: 120px;
    height: 92px;
    object-fit: cover;
    border-radius: 10px;
    background: #eef6fb;
}

.training-detail-exercise-content {
    min-width: 0;
}

.training-detail-exercise strong,
.training-detail-exercise small {
    display: block;
}

.training-detail-exercise small {
    color: #607080;
}

.training-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.training-detail-tags span {
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef6fb;
    color: #0a3d62;
    font-size: 0.82rem;
    font-weight: 700;
}

.training-video-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    padding: 0;
    color: #ff3d71;
    font-weight: 800;
    text-decoration: none;
}

.training-video-link:hover {
    color: #d92757;
}

@media (max-width: 575px) {
    .training-detail-exercise {
        grid-template-columns: 1fr;
    }

    .training-detail-exercise-image {
        width: 100%;
        height: 170px;
    }
}

.training-video-player {
    margin-bottom: 18px;
    border-radius: 14px;
    overflow: hidden;
    background: #0a3d62;
    box-shadow: 0 12px 28px rgba(10, 61, 98, 0.2);
}

.training-video-player-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    color: #ffffff;
}

.training-video-player-head .btn-close {
    filter: invert(1);
}

.training-video-player video,
.training-video-player iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
    background: #000000;
}

.training-day-preview {
    padding: 10px;
    border-radius: 8px;
    background: #f7f9fb;
    border-left: 4px solid #ff6a00;
}

.training-day-preview strong,
.training-day-preview small {
    display: block;
}

.training-day-preview small {
    color: #607080;
}

/* ===== NUTRICION ===== */
.nutricion {
    background: linear-gradient(180deg, #f0fdf4, #ffffff);
    padding: 80px 0;
}

.nutrition-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(25, 135, 84, 0.16);
    box-shadow: 0 14px 30px rgba(10, 61, 98, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nutrition-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 42px rgba(10, 61, 98, 0.16);
}

.nutrition-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.nutrition-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.nutrition-card h3 {
    color: #087f5b;
    font-size: 1.35rem;
    font-weight: 900;
}

.nutrition-benefits {
    list-style: none;
    padding: 0;
    margin: 12px 0 18px;
}

.nutrition-benefits li {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    color: #263238;
}

.nutrition-benefits i {
    color: #198754;
}

.recipe-detail-modal {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
}

.recipe-detail-modal .modal-header {
    background: linear-gradient(135deg, #087f5b, #38b000);
    color: #ffffff;
}

.recipe-detail-modal .btn-close {
    filter: invert(1);
}

.recipe-detail-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 16px;
}

.recipe-detail-block {
    padding: 18px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: #f7fff9;
    border-left: 4px solid #38b000;
}

.recipe-detail-block h6 {
    color: #087f5b;
    font-weight: 900;
}

/* ===== HISTORIAS ===== */
.stories-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff7ed, #ffffff);
}

.story-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 122, 24, 0.18);
    border-radius: 14px;
    background: #ffffff;
    color: #17202a;
    box-shadow: 0 14px 30px rgba(10, 61, 98, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 42px rgba(10, 61, 98, 0.16);
}

.story-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.story-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.story-author {
    color: #ff6a00;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.story-card h3 {
    margin: 8px 0 12px;
    color: #0a3d62;
    font-size: 1.35rem;
    font-weight: 900;
}

.story-card p {
    display: -webkit-box;
    color: #35485c;
    line-height: 1.6;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.btn-story-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #ff7a18, #00a6d6);
    color: #ffffff;
    font-weight: 800;
}

.btn-story-detail:hover {
    color: #ffffff;
    filter: brightness(1.05);
}

.story-detail-modal {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
}

.story-detail-modal .modal-header {
    background: linear-gradient(135deg, #ff7a18, #0a3d62);
    color: #ffffff;
}

.story-detail-modal .btn-close {
    filter: invert(1);
}

.story-detail-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
}

.story-detail-text {
    color: #263238;
    font-size: 1.05rem;
    line-height: 1.8;
    white-space: pre-line;
}

.story-date {
    color: #607080;
    font-weight: 700;
}

/* ============================= */
/* FOOTER — ESTILO CYBERPUNK    */
/* ============================= */

.footer-cyber {
    background: linear-gradient(135deg, #0a0a0f, #12121c, #0a0a0f);
    color: #eee;
    padding-top: 50px;
    padding-bottom: 20px;
    border-top: 2px solid #ff009d;
    box-shadow: 0 0 25px #ff009d50;
    text-align: center;
}

/* GRID */
.footer-contenido {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

/* Títulos con glow */
.footer-title-neon {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ff009d;
    text-shadow:
        0 0 4px #ff009d,
        0 0 10px #ff009d,
        0 0 16px #ff009d;
}

/* Texto */
.footer-text,
.footer-info li {
    opacity: 0.9;
    color: #d6d6d6;
    line-height: 1.6;
}

/* ENLACES */
.footer-links li {
    list-style: none;
    margin: 6px 0;
}

.footer-links a {
    color: #c8f8ff !important;
    transition: 0.2s ease;
    font-size: 0.95rem;
    text-shadow: 0 0 4px rgba(0, 234, 255, 0.4);
}

.footer-links a:hover {
    color: #00eaff !important;
    text-shadow:
        0 0 8px #00eaff,
        0 0 20px rgba(0, 234, 255, 0.7);
    transform: translateX(5px);
    /* opcional — da efecto de movimiento */
}

/* ICONOS REDES */
.footer-social img {
    width: 32px;
    margin: 0 8px;
    filter: drop-shadow(0 0 6px #00eaff);
    transition: 0.3s;
}

.footer-social img:hover {
    filter: drop-shadow(0 0 12px #ff009d);
    transform: scale(1.08);
}

/* LEGAL */
.footer-legal {
    border-top: 1px solid #00eaff40;
    padding-top: 15px;
    color: #999;
    font-size: 0.9rem;
}

.footer-legal a {
    color: #ff009d;
    text-decoration: none;
    text-shadow: 0 0 8px #ff009d60;
}

.footer-legal a:hover {
    color: #00eaff;
    text-shadow: 0 0 12px #00eaff;
}

.footer-legal-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
}

.footer-developer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff009d;
    text-decoration: none;
    font-weight: 700;
}

.footer-developer img {
    width: 150px;
    max-height: 38px;
    object-fit: contain;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
}

.footer-product-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d8eef8;
    font-size: 0.86rem;
    font-weight: 700;
    opacity: 0.9;
}

.footer-product-brand img {
    width: 150px;
    max-height: 38px;
    object-fit: contain;
}

/* ================================
   BOTÓN HAMBURGUESA (moderno)
================================ */
.btn-sidebar-toggle {
    position: fixed;
    top: 18px;
    left: 18px;
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.35);
    color: #00eaff;
    padding: 8px 11px;
    border-radius: 10px;
    font-size: 22px;
    cursor: pointer;
    z-index: 11000;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
    transition: all 0.2s ease;
}

.btn-sidebar-toggle:hover {
    background: rgba(0, 255, 255, 0.25);
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.7);
}

/* ================================
   PERFIL USUARIO — Avatar moderno
================================ */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    padding: 20px 0;
    transform: translateX(-100%);
    background: #ffffff;
    border-right: 1px solid #eee;
    z-index: 9999;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: width 0.3s ease;

    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-content {
    overflow-y: auto;
}

/* ===== PERFIL ===== */
.sidebar-profile {
    width: 100%;
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;    /* línea muy sutil */
}

.sidebar-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #ff6a00;
}

.sidebar-username {
    margin-top: 10px;
    color: #0a3d62;
    font-size: 16px;
    font-weight: 600;
}

.sidebar-role {
    font-size: 12px;
    color: #555;
}

.sidebar-link:hover i {
    color: #ff6a00;
}

.sidebar-link.active {
    color: #ff6a00;
    font-weight: 600;
}

.sidebar-link.active i {
    color: #ff6a00;
}

.sidebar-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: #ff6a00;
    border-radius: 4px;
}

.sidebar-submenu {
    list-style: none;
    padding-left: 40px;    /* 🔥 más indentación */
    margin-top: 5px;
    border-left: 2px solid rgba(255, 106, 0, 0.2);    /* línea guía */
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    padding: 10px 0 10px 40px;
}

.sidebar-sublink {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #777;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-sublink:hover {
    color: #ff6a00;
    transform: translateX(3px);
}

.sidebar-sublink i {
    font-size: 0.95rem;
    color: #999;
    transition: 0.3s;
}

.sidebar-sublink:hover i,
.sidebar-sublink.active i {
    color: #ff6a00;
}

.chevron {
    transition: transform 0.3s ease;
}

.rotate {
    transform: rotate(180deg);
}

.btn-collapse {
    width: 100%;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #888;
    transition: 0.3s;
}

.btn-collapse:hover {
    color: #ff6a00;
}

.slide-enter-active,
.slide-leave-active {
    transition: all 0.3s ease;
    overflow: hidden;
}

.slide-enter-from,
.slide-leave-to {
    max-height: 0;
    opacity: 0;
}

.slide-enter-to,
.slide-leave-from {
    max-height: 200px;
    opacity: 1;
}

/* MENÚ LIMPIO TIPO DASHBOARD */
.sidebar-menu {
    flex-grow: 1;
    overflow-y: auto;
    list-style: none;
    padding: 15px;
    padding-bottom: 80px;
    margin: 0;
}

/* QUITA LÍNEAS Y VIÑETAS */
.sidebar-menu li {
    list-style: none;
    border: none;
}

/* LINKS ESTILO PANEL */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #0a3d62;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 6px;
    transition: all 0.2s ease;
    position: relative;
    font-weight: 500;
}

/* EFECTO HOVER PROFESIONAL */
.sidebar-link:hover {
    background: #e5f1ff;
    transform: translateX(4px);
    color: #111;
}

/* ÍCONOS */
.sidebar-link i {
    font-size: 18px;
    min-width: 20px;        /* 🔥 evita que se encimen */
    text-align: center;
    color: #999;
    transition: 0.3s;
}

.link-content {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

/* BOTÓN LOGOUT ESTILO PANEL */
.sidebar-footer {
    margin-top: auto;
    padding: 15px;
    border-top: 1px solid #f1f1f1;
    background: white;
}

.sidebar-product-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 42px;
    padding: 8px 10px 12px;
    margin: 0 auto;
    text-align: center;
    color: #64748b;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.78;
}

.sidebar-product-brand img {
    display: block;
    width: 116px;
    max-width: 100%;
    max-height: 30px;
    margin: 0 auto;
    height: auto;
    object-fit: contain;
}

.sidebar.collapsed .sidebar-product-brand {
    display: none;
}

.btn-logout {
    width: 100%;
    padding: 10px;
    background: #e63946;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.25);
}

.btn-logout:hover {
    background: #c71f2e;
    transform: translateY(-1px);
}

/* --- CABECERA DEL PANEL (TÍTULO) --- */
.sidebar-header {
    padding: 20px;
    margin-top: 60px;    /* deja espacio para la hamburguesa */
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    background: #0a3d62;
    color: white;
}

.sidebar-header h5 {
    margin: 0;
    font-weight: 700;
}

.sidebar-header small {
    opacity: 0.8;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #0b3b60;    /* Azul profesional */
    margin: 0;
}

/* ----------------------------------
   BOTÓN CYBERPUNK
---------------------------------- */

.btn-cyber {
    background: transparent;
    border: 2px solid #00eaff;
    color: #00eaff;
    padding: 8px 22px;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #00eaff;
}

.btn-cyber:hover {
    background: #00eaff;
    color: #000;
    box-shadow: 0 0 18px #00eaff;
}

/* ----------------------------------
   BOTÓN WATHSUP
---------------------------------- */

.btn-wsp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease-in-out;
}

/* Efecto hover del botón */
.btn-wsp:hover {
    transform: scale(1.1);
}

/* TOOLTIP */
.tooltip-wsp {
    position: absolute;
    right: 75px;
    bottom: 15px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    text-shadow: 0 0 6px #9d75ff;
    border: 1px solid #9d75ff;
}

/* Flechita del tooltip */
.tooltip-wsp::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 7px solid rgba(0, 0, 0, 0.85);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

/* Mostrar tooltip al pasar el mouse */
.btn-wsp:hover .tooltip-wsp {
    opacity: 1;
    transform: translateX(0);
}

.text-orange {
    color: #ff8800 !important;
    font-weight: 700;
}

/* Tema activo desde configuracion */
html[data-fusion-theme] body {
    background-color: var(--fusion-bg);
    color: var(--fusion-text);
    font-family: var(--fusion-font), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-fusion-theme] .navbar.fixed-top,
html[data-fusion-theme] .navbar {
    background: var(--fusion-primary) !important;
}

html[data-fusion-theme] .navbar .nav-link:hover,
html[data-fusion-theme] .navbar .nav-link.active {
    color: var(--fusion-secondary) !important;
    text-shadow: 0 0 8px color-mix(in srgb, var(--fusion-secondary), transparent 25%);
}

html[data-fusion-theme] .btn-hero,
html[data-fusion-theme] .btn-training-detail,
html[data-fusion-theme] .btn-story-detail {
    background: linear-gradient(135deg, var(--fusion-secondary), var(--fusion-accent)) !important;
    border-color: var(--fusion-secondary) !important;
    color: #ffffff !important;
}

html[data-fusion-theme] .section-title,
html[data-fusion-theme] .nosotros-titulo,
html[data-fusion-theme] .staff-home-section h2,
html[data-fusion-theme] .nutricion h2,
html[data-fusion-theme] .store-home-head .section-title {
    color: var(--fusion-title) !important;
    text-shadow: none !important;
}

html[data-fusion-theme] .section-title::after,
html[data-fusion-theme] .nosotros-titulo::after,
html[data-fusion-theme] .staff-home-section h2::after,
html[data-fusion-theme] .nutricion h2::after,
html[data-fusion-theme] .store-home-head .section-title::after {
    background: linear-gradient(135deg, var(--fusion-secondary), var(--fusion-accent)) !important;
}

html[data-fusion-theme] .card-service,
html[data-fusion-theme] .training-home-card,
html[data-fusion-theme] .store-product-card,
html[data-fusion-theme] .nutrition-card,
html[data-fusion-theme] .story-card,
html[data-fusion-theme] .staff-home-card {
    background: var(--fusion-surface);
    color: var(--fusion-text);
    border-color: color-mix(in srgb, var(--fusion-secondary), transparent 82%);
    border-radius: var(--fusion-radius);
    box-shadow: var(--fusion-shadow);
}

html[data-fusion-theme] .training-meta span,
html[data-fusion-theme] .training-benefits i,
html[data-fusion-theme] .nutrition-benefits i,
html[data-fusion-theme] .store-eyebrow,
html[data-fusion-theme] .store-product-category,
html[data-fusion-theme] .store-product-footer strong {
    color: var(--fusion-accent);
}

html[data-fusion-theme] .store-home-section {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--fusion-accent), transparent 78%), transparent 34%),
        linear-gradient(135deg, var(--fusion-section-bg), color-mix(in srgb, var(--fusion-primary), #000 18%));
    color: var(--fusion-text);
}

html[data-fusion-theme] .store-home-head p,
html[data-fusion-theme] .store-home-note,
html[data-fusion-theme] .store-product-body p,
html[data-fusion-theme] .store-product-footer span {
    color: var(--fusion-muted);
}

html[data-fusion-theme] .store-home-head strong {
    color: var(--fusion-button-text);
    background: linear-gradient(135deg, var(--fusion-secondary), var(--fusion-accent));
}

html[data-fusion-theme] .store-product-body h3 {
    color: var(--fusion-title);
}

html[data-fusion-theme] .store-category-block {
    border-top-color: color-mix(in srgb, var(--fusion-secondary), transparent 78%);
}

html[data-fusion-theme] .store-category-head h3 {
    color: var(--fusion-title);
}

html[data-fusion-theme] .store-category-head span {
    color: var(--fusion-button-text);
    background: linear-gradient(135deg, var(--fusion-secondary), var(--fusion-accent));
}

html[data-fusion-theme] .store-product-card img {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--fusion-surface), #ffffff 62%), color-mix(in srgb, var(--fusion-section-bg), #ffffff 42%));
}

html[data-fusion-theme] .sidebar {
    background: var(--fusion-sidebar-bg);
}

html[data-fusion-theme] .sidebar-profile {
    background: var(--fusion-sidebar-profile-bg);
}

html[data-fusion-theme] .sidebar-footer {
    background: var(--fusion-sidebar-profile-bg) !important;
    border-top-color: color-mix(in srgb, var(--fusion-sidebar-text), transparent 82%) !important;
}

html[data-fusion-theme] .sidebar-avatar {
    border-color: var(--fusion-sidebar-active);
}

html[data-fusion-theme] .sidebar-username,
html[data-fusion-theme] .sidebar-link {
    color: var(--fusion-sidebar-text);
}

html[data-fusion-theme] .sidebar-link:hover {
    background: var(--fusion-sidebar-hover);
}

html[data-fusion-theme] .sidebar-link:hover i,
html[data-fusion-theme] .sidebar-link.active,
html[data-fusion-theme] .sidebar-link.active i,
html[data-fusion-theme] .sidebar-sublink:hover,
html[data-fusion-theme] .sidebar-sublink:hover i,
html[data-fusion-theme] .sidebar-sublink.active i {
    color: var(--fusion-sidebar-active);
}

html[data-fusion-theme] .sidebar-link i,
html[data-fusion-theme] .sidebar-sublink {
    color: color-mix(in srgb, var(--fusion-sidebar-text), transparent 28%);
}

html[data-fusion-theme] .sidebar-link.active::before {
    background: var(--fusion-sidebar-active);
}

html[data-fusion-theme] .sidebar-submenu {
    background: color-mix(in srgb, var(--fusion-sidebar-hover), transparent 35%);
    border-left-color: color-mix(in srgb, var(--fusion-sidebar-active), transparent 72%);
}

html[data-fusion-theme] .btn-sidebar-toggle {
    background: color-mix(in srgb, var(--fusion-secondary), transparent 84%);
    border-color: color-mix(in srgb, var(--fusion-secondary), transparent 60%);
    color: var(--fusion-secondary);
    box-shadow: 0 0 12px color-mix(in srgb, var(--fusion-secondary), transparent 60%);
}

html[data-fusion-theme] .footer-cyber {
    background: linear-gradient(135deg, var(--fusion-primary), color-mix(in srgb, var(--fusion-primary), #000 22%));
    border-top-color: var(--fusion-accent);
    box-shadow: 0 0 25px color-mix(in srgb, var(--fusion-accent), transparent 68%);
}

html[data-fusion-theme] .footer-title-neon,
html[data-fusion-theme] .footer-legal a {
    color: var(--fusion-accent);
    text-shadow: none;
}

html[data-fusion-theme] .footer-links a:hover,
html[data-fusion-theme] .footer-legal a:hover {
    color: var(--fusion-secondary) !important;
    text-shadow: none;
}

html[data-fusion-theme] .footer-developer {
    color: var(--fusion-accent) !important;
}

html[data-fusion-theme] .footer-developer img {
    background: color-mix(in srgb, #ffffff, var(--fusion-surface) 12%) !important;
}

html[data-fusion-theme] .sidebar-product-brand {
    color: color-mix(in srgb, var(--fusion-sidebar-text), transparent 24%);
}

/* Bootstrap mantiene sus colores semanticos */
html[data-fusion-theme] .btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0d6efd;
    --bs-btn-border-color: #0d6efd;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
}

html[data-fusion-theme] .btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #6c757d;
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #5c636a;
    --bs-btn-hover-border-color: #565e64;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #565e64;
    --bs-btn-active-border-color: #51585e;
}

html[data-fusion-theme] .btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: #198754;
    --bs-btn-border-color: #198754;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #157347;
    --bs-btn-hover-border-color: #146c43;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #146c43;
    --bs-btn-active-border-color: #13653f;
}

html[data-fusion-theme] .btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: #dc3545;
    --bs-btn-border-color: #dc3545;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #bb2d3b;
    --bs-btn-hover-border-color: #b02a37;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #b02a37;
    --bs-btn-active-border-color: #a52834;
}

html[data-fusion-theme] .btn-warning {
    --bs-btn-color: #000;
    --bs-btn-bg: #ffc107;
    --bs-btn-border-color: #ffc107;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #ffca2c;
    --bs-btn-hover-border-color: #ffc720;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #ffcd39;
    --bs-btn-active-border-color: #ffc720;
}

html[data-fusion-theme] .btn-info {
    --bs-btn-color: #000;
    --bs-btn-bg: #0dcaf0;
    --bs-btn-border-color: #0dcaf0;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #31d2f2;
    --bs-btn-hover-border-color: #25cff2;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #3dd5f3;
    --bs-btn-active-border-color: #25cff2;
}

/* Secciones publicas conectadas al tema */
html[data-fusion-theme] body::before {
    opacity: 0.06;
}

html[data-fusion-theme] .nosotros-section,
html[data-fusion-theme] #servicios,
html[data-fusion-theme] .nutricion,
html[data-fusion-theme] .stories-section,
html[data-fusion-theme] .staff-home-section,
html[data-fusion-theme] .apps-ecosystem-section {
    background: var(--fusion-bg) !important;
    color: var(--fusion-text);
}

html[data-fusion-theme] .section-title,
html[data-fusion-theme] .nosotros-titulo,
html[data-fusion-theme] .staff-home-section h2,
html[data-fusion-theme] .nutricion h2,
html[data-fusion-theme] .stories-section .section-title {
    color: var(--fusion-title) !important;
    text-shadow: none !important;
}

html[data-fusion-theme] .nosotros-frase,
html[data-fusion-theme] .staff-home-section .text-center p,
html[data-fusion-theme] .nutricion .text-center p,
html[data-fusion-theme] #servicios .text-muted,
html[data-fusion-theme] .nutricion .text-muted,
html[data-fusion-theme] .stories-section .text-muted {
    color: var(--fusion-subtitle) !important;
    text-shadow: none !important;
}

html[data-fusion-theme] .nosotros-intro {
    background: linear-gradient(
        180deg,
        var(--fusion-surface) 0%,
        color-mix(in srgb, var(--fusion-bg), var(--fusion-surface) 22%) 100%
    ) !important;
    color: var(--fusion-text);
}

html[data-fusion-theme] .nosotros-card,
html[data-fusion-theme] .training-detail-day,
html[data-fusion-theme] .training-detail-exercise,
html[data-fusion-theme] .recipe-detail-block {
    background: var(--fusion-surface) !important;
    color: var(--fusion-text);
    border-color: color-mix(in srgb, var(--fusion-secondary), transparent 82%);
}

html[data-fusion-theme] .nosotros-card .nosotros-texto p,
html[data-fusion-theme] .staff-home-section p,
html[data-fusion-theme] .training-benefits li,
html[data-fusion-theme] .training-detail-exercise small,
html[data-fusion-theme] .nutrition-benefits li,
html[data-fusion-theme] .story-card p,
html[data-fusion-theme] .story-detail-text,
html[data-fusion-theme] .story-date,
html[data-fusion-theme] .training-day-preview small {
    color: color-mix(in srgb, var(--fusion-text), transparent 16%) !important;
}

html[data-fusion-theme] .nosotros-card .nosotros-texto h3,
html[data-fusion-theme] .training-home-card h4,
html[data-fusion-theme] .training-detail-day-head strong,
html[data-fusion-theme] .nutrition-card h3,
html[data-fusion-theme] .recipe-detail-block h6,
html[data-fusion-theme] .story-card h3,
html[data-fusion-theme] .staff-home-body h3 {
    color: var(--fusion-primary) !important;
}

html[data-fusion-theme*="night" i] .training-detail-day-head strong,
html[data-fusion-theme*="night" i] .training-detail-exercise strong,
html[data-fusion-theme*="night" i] .recipe-detail-block h6,
html[data-fusion-theme*="nigth" i] .training-detail-day-head strong,
html[data-fusion-theme*="nigth" i] .training-detail-exercise strong,
html[data-fusion-theme*="nigth" i] .recipe-detail-block h6 {
    color: #c9f6ff !important;
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.18);
}

html[data-fusion-theme*="night" i] .training-home-card h4,
html[data-fusion-theme*="night" i] .nutrition-card h3,
html[data-fusion-theme*="night" i] .story-card h3,
html[data-fusion-theme*="night" i] .staff-home-body h3,
html[data-fusion-theme*="nigth" i] .training-home-card h4,
html[data-fusion-theme*="nigth" i] .nutrition-card h3,
html[data-fusion-theme*="nigth" i] .story-card h3,
html[data-fusion-theme*="nigth" i] .staff-home-body h3 {
    color: #e8fbff !important;
    text-shadow: 0 0 12px rgba(0, 234, 255, 0.22);
}

html[data-fusion-theme] .nosotros-card .nosotros-texto h3 {
    background: linear-gradient(45deg, var(--fusion-secondary), var(--fusion-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px color-mix(in srgb, var(--fusion-text), transparent 35%);
}

html[data-fusion-theme] .nosotros-card .nosotros-texto h3::after {
    background: var(--fusion-accent);
}

html[data-fusion-theme] .training-meta span,
html[data-fusion-theme] .training-detail-tags span {
    background: color-mix(in srgb, var(--fusion-secondary), transparent 86%) !important;
    color: var(--fusion-text) !important;
}

html[data-fusion-theme] .apps-eyebrow {
    background: color-mix(in srgb, var(--fusion-secondary), transparent 86%);
    color: var(--fusion-title);
}

html[data-fusion-theme] .apps-ecosystem-head p,
html[data-fusion-theme] .app-ecosystem-card p {
    color: color-mix(in srgb, var(--fusion-text), transparent 14%) !important;
}

html[data-fusion-theme] .app-ecosystem-card h3 {
    color: #ffffff !important;
}

html[data-fusion-theme] .app-ecosystem-card {
    border-color: color-mix(in srgb, var(--fusion-secondary), transparent 68%);
}

html[data-fusion-theme] .app-ecosystem-card::after {
    background:
        linear-gradient(180deg, rgba(4, 15, 30, .02) 0%, rgba(4, 15, 30, .2) 34%, color-mix(in srgb, var(--fusion-surface), #000 48%) 100%),
        radial-gradient(circle at 82% 16%, color-mix(in srgb, var(--fusion-secondary), transparent 80%), transparent 11rem);
}
html[data-fusion-theme] .training-detail-day-head span,
html[data-fusion-theme] .story-author,
html[data-fusion-theme] .staff-home-body span {
    background: linear-gradient(135deg, var(--fusion-secondary), var(--fusion-accent)) !important;
    color: #ffffff !important;
}

html[data-fusion-theme] .training-video-player,
html[data-fusion-theme] .training-detail-modal .modal-header,
html[data-fusion-theme] .recipe-detail-modal .modal-header,
html[data-fusion-theme] .story-detail-modal .modal-header {
    background: linear-gradient(135deg, var(--fusion-primary), var(--fusion-secondary)) !important;
    color: #ffffff;
}

html[data-fusion-theme] .modal-content {
    background: var(--fusion-surface);
    color: var(--fusion-text);
}

html[data-fusion-theme] .admin-transfer-payments-modal .modal-body {
    color: var(--fusion-text);
}

html[data-fusion-theme] .admin-transfer-payments-modal .admin-transfer-payments-help {
    color: color-mix(in srgb, var(--fusion-text), var(--fusion-accent) 28%) !important;
    font-weight: 600;
}

.admin-login-alert-list {
    display: grid;
    gap: 12px;
}

.admin-login-alert-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--fusion-secondary), transparent 62%);
    border-radius: 14px;
    background: color-mix(in srgb, var(--fusion-surface), var(--fusion-bg) 10%);
}

.admin-login-alert-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--fusion-secondary), var(--fusion-accent));
}

.admin-login-alert-item h6,
.admin-login-alert-item p {
    margin: 0;
}

.admin-login-alert-item p {
    color: color-mix(in srgb, var(--fusion-text), var(--fusion-bg) 20%);
    font-size: 0.92rem;
}

.admin-login-alert-item strong {
    color: var(--fusion-accent);
}

@media (max-width: 576px) {
    .admin-login-alert-item {
        grid-template-columns: auto 1fr;
    }

    .admin-login-alert-item .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .apps-ecosystem-section {
        min-height: 100vh;
        align-items: flex-start;
    }

    .apps-ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .app-ecosystem-card {
        min-height: 0;
    }

    .app-ecosystem-image {
        height: clamp(240px, 42vw, 360px);
    }
}

@media (max-width: 576px) {
    .apps-ecosystem-section {
        padding: 52px 0 72px;
        max-width: 100vw;
        overflow: hidden;
    }

    .apps-ecosystem-head {
        max-width: calc(100vw - 28px);
    }

    .apps-ecosystem-head .section-title {
        font-size: 1.65rem;
        line-height: 1.18;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .apps-ecosystem-head p {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .app-ecosystem-card {
        max-width: calc(100vw - 24px);
        margin-left: auto;
        margin-right: auto;
    }
}
