/* ==========================================================
   GIOLABS CLINIC S.A.C.
   HERO PREMIUM - CICLO DE ANÁLISIS ANIMADO
   VERSIÓN COMPLETA SIN CORTES
   ==========================================================
   Índice:
   1. Contenedor Principal
   2. Fondo Decorativo (Orbes + Partículas + Patrón + ECG)
   3. Grid Principal
   4. Columna de Texto
   5. Badge Animado
   6. Título y Descripción
   7. Botones Premium
   8. Confianza
   9. Columna Visual - Ciclo
   10. Centro del Ciclo (Logo transparente)
   11. SVG Línea Conectora
   12. Órbitas y Etapas
   13. Estadísticas Flotantes
   14. Animaciones de Entrada
   15. Scroll Indicador
   16. Responsive
   ========================================================== */

/* ==========================================================
   1. CONTENEDOR PRINCIPAL
   ========================================================== */

.hero-premium-ciclo {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 15px 0 30px;
    background: linear-gradient(135deg, #e8f4fd 0%, #ffffff 40%, #e6f7f4 100%);
}

/* ==========================================================
   2. FONDO DECORATIVO
   ========================================================== */

.hero-ciclo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Orbes difuminados */
.ciclo-orb-fondo {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.15;
    animation: cicloOrbFlotar 12s ease-in-out infinite;
}

.ciclo-orb-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #174c77, transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.ciclo-orb-2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #16a6a1, transparent 70%);
    bottom: -10%;
    left: -5%;
    animation-delay: -4s;
}

.ciclo-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #4ade80, transparent 70%);
    top: 45%;
    left: 30%;
    animation-delay: -8s;
}

.ciclo-orb-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245,158,11,0.6), transparent 70%);
    bottom: 20%;
    right: 20%;
    animation-delay: -2s;
}

@keyframes cicloOrbFlotar {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.12; }
    25% { transform: translate(40px, -40px) scale(1.2); opacity: 0.18; }
    50% { transform: translate(-25px, 25px) scale(0.9); opacity: 0.12; }
    75% { transform: translate(30px, 20px) scale(1.1); opacity: 0.18; }
}

/* Partículas decorativas */
.ciclo-particula {
    position: absolute;
    border-radius: 50%;
    background: rgba(23, 76, 119, 0.25);
    animation: cicloParticulaFlotar 8s ease-in-out infinite;
}

.ciclo-p-1 { width: 6px; height: 6px; top: 15%; left: 5%; animation-delay: 0s; }
.ciclo-p-2 { width: 4px; height: 4px; top: 30%; left: 10%; animation-delay: -2s; background: #16a6a1; }
.ciclo-p-3 { width: 8px; height: 8px; top: 50%; left: 3%; animation-delay: -4s; }
.ciclo-p-4 { width: 5px; height: 5px; top: 70%; left: 8%; animation-delay: -6s; background: #4ade80; }
.ciclo-p-5 { width: 7px; height: 7px; top: 20%; right: 5%; animation-delay: -1s; }
.ciclo-p-6 { width: 4px; height: 4px; top: 60%; right: 10%; animation-delay: -3s; background: #16a6a1; }
.ciclo-p-7 { width: 5px; height: 5px; top: 45%; left: 20%; background: #f59e0b; animation-delay: -5s; }
.ciclo-p-8 { width: 6px; height: 6px; top: 75%; right: 15%; background: #ec4899; animation-delay: -7s; }

@keyframes cicloParticulaFlotar {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
    50% { transform: translateY(-40px) rotate(180deg); opacity: 0.5; }
}

/* Patrón de puntos */
.ciclo-puntos-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(23,76,119,0.05) 1px, transparent 1px);
    background-size: 35px 35px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Línea ECG decorativa */
.ciclo-ecg-deco {
    position: absolute;
    top: 18%;
    left: 0;
    width: 100%;
    opacity: 0.5;
}

.ciclo-ecg-deco svg {
    width: 100%;
    height: 50px;
}

/* ==========================================================
   3. GRID PRINCIPAL
   ========================================================== */

.hero-ciclo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ==========================================================
   4. COLUMNA DE TEXTO
   ========================================================== */

.hero-ciclo-texto {
    position: relative;
}

/* ==========================================================
   5. BADGE ANIMADO
   ========================================================== */

.ciclo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(23, 76, 119, 0.15);
    border-radius: 50px;
    color: #174c77;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    box-shadow: 0 6px 16px rgba(23, 76, 119, 0.06);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ciclo-badge:hover {
    border-color: #16a6a1;
    box-shadow: 0 10px 24px rgba(23, 76, 119, 0.1);
    transform: translateY(-2px);
}

.ciclo-badge i {
    color: #16a6a1;
    font-size: 12px;
    animation: cicloIconoPulse 2s infinite;
}

.ciclo-badge-linea {
    width: 1px;
    height: 12px;
    background: rgba(23, 76, 119, 0.2);
}

.badge-brillo {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: badgeBrilloGirar 4s infinite;
    pointer-events: none;
}

@keyframes badgeBrilloGirar {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes cicloIconoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

/* ==========================================================
   6. TÍTULO Y DESCRIPCIÓN
   ========================================================== */

.ciclo-titulo-grande {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.15;
    font-weight: 800;
    color: #103a5c;
    margin: 0 0 10px;
    letter-spacing: -0.035em;
    text-shadow: 0 2px 6px rgba(23, 76, 119, 0.04);
}

.ciclo-descripcion {
    font-size: 14px;
    line-height: 1.6;
    color: #6a7b87;
    margin: 0 0 16px;
    max-width: 470px;
}

/* ==========================================================
   7. BOTONES PREMIUM
   ========================================================== */

.ciclo-botones {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.btn-ciclo {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-ciclo-primario {
    background: linear-gradient(135deg, #174c77, #1a5a8a);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(23, 76, 119, 0.25);
}

.btn-ciclo-primario:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 32px rgba(23, 76, 119, 0.35);
}

.btn-ciclo-flecha {
    transition: transform 0.3s ease;
}

.btn-ciclo-primario:hover .btn-ciclo-flecha {
    transform: translateX(5px);
}

.btn-ciclo-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: cicloBtnShine 3s infinite;
}

@keyframes cicloBtnShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.btn-ciclo-secundario {
    background: #ffffff;
    border: 2px solid rgba(23, 76, 119, 0.12);
    color: #174c77;
}

.btn-ciclo-secundario:hover {
    border-color: #16a6a1;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(23, 76, 119, 0.1);
}

/* ==========================================================
   8. CONFIANZA
   ========================================================== */

.ciclo-confianza {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.ciclo-conf-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(23, 76, 119, 0.08);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 600;
    color: #174c77;
    transition: all 0.3s ease;
}

.ciclo-conf-item:hover {
    background: #ffffff;
    border-color: #16a6a1;
    transform: translateY(-2px);
}

.ciclo-conf-item i {
    color: #16a6a1;
    font-size: 11px;
}

/* ==========================================================
   9. COLUMNA VISUAL - CICLO
   ========================================================== */

.hero-ciclo-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ciclo-contenedor {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================
   10. CENTRO DEL CICLO - LOGO TRANSPARENTE
   ========================================================== */

.ciclo-centro {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.ciclo-centro-icono {
    width: 100px;
    height: 100px;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    animation: cicloLogoFlotar 3s ease-in-out infinite;
    padding: 0;
}

.ciclo-centro-icono img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 8px 20px rgba(23, 76, 119, 0.2));
}

.ciclo-centro-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #174c77;
    background: transparent;
}

@keyframes cicloLogoFlotar {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.05);
    }
}

/* Anillos decorativos */
.ciclo-centro-anillo {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 2px solid rgba(23, 76, 119, 0.1);
    animation: cicloAnilloPulse 3s ease-in-out infinite;
    pointer-events: none;
}

.ciclo-anillo-2 {
    animation-delay: 1s;
    border-color: rgba(22, 166, 161, 0.08);
}

@keyframes cicloAnilloPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.25);
        opacity: 0.05;
    }
}

/* ==========================================================
   11. SVG LÍNEA CONECTORA
   ========================================================== */

.ciclo-svg-linea {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ciclo-linea-animada {
    animation: cicloTrazarLinea 8s ease-in-out infinite;
}

.ciclo-linea-animada-2 {
    animation: cicloTrazarLinea2 8s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes cicloTrazarLinea {
    0% { stroke-dashoffset: 848; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -848; }
}

@keyframes cicloTrazarLinea2 {
    0% { stroke-dashoffset: 848; opacity: 0; }
    50% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -848; opacity: 0; }
}

/* ==========================================================
   12. ÓRBITAS Y ETAPAS
   ========================================================== */

.ciclo-etapa-orbita {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
}

.ciclo-etapa-orbita-1 { animation: cicloOrbita1 10s linear infinite; }
.ciclo-etapa-orbita-2 { animation: cicloOrbita2 12s linear infinite; animation-delay: -3s; }
.ciclo-etapa-orbita-3 { animation: cicloOrbita3 11s linear infinite; animation-delay: -5s; }
.ciclo-etapa-orbita-4 { animation: cicloOrbita4 9s linear infinite; animation-delay: -7s; }

@keyframes cicloOrbita1 {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(140px) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg) translateX(140px) rotate(-360deg); }
}

@keyframes cicloOrbita2 {
    from { transform: translate(-50%, -50%) rotate(90deg) translateX(140px) rotate(-90deg); }
    to { transform: translate(-50%, -50%) rotate(450deg) translateX(140px) rotate(-450deg); }
}

@keyframes cicloOrbita3 {
    from { transform: translate(-50%, -50%) rotate(180deg) translateX(140px) rotate(-180deg); }
    to { transform: translate(-50%, -50%) rotate(540deg) translateX(140px) rotate(-540deg); }
}

@keyframes cicloOrbita4 {
    from { transform: translate(-50%, -50%) rotate(270deg) translateX(140px) rotate(-270deg); }
    to { transform: translate(-50%, -50%) rotate(630deg) translateX(140px) rotate(-630deg); }
}

/* Caja de etapa */
.ciclo-etapa-caja {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: #ffffff;
    border: 1.5px solid rgba(23, 76, 119, 0.1);
    box-shadow: 0 8px 24px rgba(23, 76, 119, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

.ciclo-etapa-caja:hover {
    transform: scale(1.15) !important;
    border-color: #16a6a1;
    box-shadow: 0 15px 35px rgba(23, 76, 119, 0.22);
}

.ciclo-etapa-caja:hover .ciclo-etapa-numero {
    background: #16a6a1;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.ciclo-etapa-caja:hover .ciclo-etapa-pulse {
    opacity: 1;
    animation: cicloEtapaPulse 1.5s ease-in-out infinite;
}

/* Iconos por etapa */
.ciclo-etapa-icono {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.ciclo-etapa-icono-1 { background: rgba(23, 76, 119, 0.08); color: #174c77; }
.ciclo-etapa-icono-2 { background: rgba(22, 166, 161, 0.08); color: #16a6a1; }
.ciclo-etapa-icono-3 { background: rgba(245, 158, 11, 0.08); color: #f59e0b; }
.ciclo-etapa-icono-4 { background: rgba(74, 222, 128, 0.08); color: #22c55e; }

.ciclo-etapa-nombre {
    font-size: 7px;
    font-weight: 700;
    color: #174c77;
    text-align: center;
    line-height: 1.1;
    max-width: 58px;
}

.ciclo-etapa-numero {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #174c77;
    color: #ffffff;
    font-size: 7px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.ciclo-etapa-pulse {
    position: absolute;
    inset: -5px;
    border-radius: 18px;
    border: 2px solid rgba(22, 166, 161, 0.3);
    animation: cicloEtapaPulse 2s ease-in-out infinite;
    pointer-events: none;
    opacity: 0;
}

@keyframes cicloEtapaPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.2); opacity: 0.05; }
}

/* ==========================================================
   13. ESTADÍSTICAS FLOTANTES
   ========================================================== */

.ciclo-stats-flotante {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(23, 76, 119, 0.15);
    z-index: 15;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    animation: cicloStatsFloat 5s ease-in-out infinite;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ciclo-stats-1 { top: 20px; right: -10px; animation-delay: 0s; }
.ciclo-stats-2 { bottom: 12px; left: -8px; animation-delay: -2.5s; }
.ciclo-stats-3 { top: 50%; right: -20px; animation-delay: -4s; }

@keyframes cicloStatsFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.ciclo-stats-flotante:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 35px rgba(23, 76, 119, 0.22);
}

.ciclo-stats-flotante i {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #174c77, #16a6a1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    flex-shrink: 0;
}

.ciclo-stats-flotante strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #103a5c;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1;
}

.ciclo-stats-flotante span {
    font-size: 9px;
    color: #6a7b87;
    font-weight: 600;
}

/* ==========================================================
   14. ANIMACIONES DE ENTRADA
   ========================================================== */

[data-animacion="arriba"] { animation: cicloEntradaArriba 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
[data-animacion="izquierda"] { animation: cicloEntradaIzquierda 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: 0.15s; }
[data-animacion="abajo"] { animation: cicloEntradaAbajo 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: 0.3s; }
[data-animacion="derecha"] { animation: cicloEntradaDerecha 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: 0.45s; }

@keyframes cicloEntradaArriba {
    from { opacity: 0; transform: translateY(-40px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cicloEntradaIzquierda {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes cicloEntradaAbajo {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cicloEntradaDerecha {
    from { opacity: 0; transform: translateX(50px) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

/* ==========================================================
   15. SCROLL INDICADOR
   ========================================================== */

.ciclo-scroll-indicador {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #a0b0bc;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    z-index: 5;
    animation: scrollIndicadorFade 2s ease-in-out infinite;
}

.ciclo-scroll-indicador i {
    font-size: 15px;
    color: #16a6a1;
}

@keyframes scrollIndicadorFade {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(5px); }
}

/* ==========================================================
   16. RESPONSIVE
   ========================================================== */

@media (max-width: 1080px) {
    .ciclo-contenedor {
        width: 360px;
        height: 360px;
    }
    
    @keyframes cicloOrbita1 {
        from { transform: translate(-50%, -50%) rotate(0deg) translateX(120px) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg) translateX(120px) rotate(-360deg); }
    }
    @keyframes cicloOrbita2 {
        from { transform: translate(-50%, -50%) rotate(90deg) translateX(120px) rotate(-90deg); }
        to { transform: translate(-50%, -50%) rotate(450deg) translateX(120px) rotate(-450deg); }
    }
    @keyframes cicloOrbita3 {
        from { transform: translate(-50%, -50%) rotate(180deg) translateX(120px) rotate(-180deg); }
        to { transform: translate(-50%, -50%) rotate(540deg) translateX(120px) rotate(-540deg); }
    }
    @keyframes cicloOrbita4 {
        from { transform: translate(-50%, -50%) rotate(270deg) translateX(120px) rotate(-270deg); }
        to { transform: translate(-50%, -50%) rotate(630deg) translateX(120px) rotate(-630deg); }
    }
}

@media (max-width: 860px) {
    .hero-premium-ciclo {
        min-height: auto;
        padding: 20px 0 30px;
    }
    
    .hero-ciclo-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .ciclo-descripcion {
        margin: 0 auto 16px;
    }
    
    .ciclo-botones,
    .ciclo-confianza {
        justify-content: center;
    }
    
    .ciclo-contenedor {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }
    
    .ciclo-stats-1 { right: 0; }
    .ciclo-stats-2 { left: 0; }
    .ciclo-stats-3 { right: -5px; }
    .ciclo-scroll-indicador { display: none; }
    
    @keyframes cicloOrbita1 {
        from { transform: translate(-50%, -50%) rotate(0deg) translateX(105px) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg) translateX(105px) rotate(-360deg); }
    }
    @keyframes cicloOrbita2 {
        from { transform: translate(-50%, -50%) rotate(90deg) translateX(105px) rotate(-90deg); }
        to { transform: translate(-50%, -50%) rotate(450deg) translateX(105px) rotate(-450deg); }
    }
    @keyframes cicloOrbita3 {
        from { transform: translate(-50%, -50%) rotate(180deg) translateX(105px) rotate(-180deg); }
        to { transform: translate(-50%, -50%) rotate(540deg) translateX(105px) rotate(-540deg); }
    }
    @keyframes cicloOrbita4 {
        from { transform: translate(-50%, -50%) rotate(270deg) translateX(105px) rotate(-270deg); }
        to { transform: translate(-50%, -50%) rotate(630deg) translateX(105px) rotate(-630deg); }
    }
}

@media (max-width: 620px) {
    .hero-premium-ciclo {
        padding: 10px 0 20px;
    }
    
    .ciclo-titulo-grande { font-size: 24px; }
    .ciclo-descripcion { font-size: 13px; }
    
    .ciclo-botones {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-ciclo {
        width: 100%;
        justify-content: center;
    }
    
    .ciclo-confianza {
        flex-direction: column;
    }
    
    .ciclo-conf-item {
        justify-content: center;
    }
    
    .ciclo-contenedor {
        width: 260px;
        height: 260px;
    }
    
    .ciclo-centro-icono {
        width: 65px;
        height: 65px;
    }
    
    .ciclo-etapa-caja {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }
    
    .ciclo-etapa-icono {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }
    
    .ciclo-etapa-nombre {
        font-size: 5px;
        max-width: 40px;
    }
    
    .ciclo-etapa-numero {
        width: 14px;
        height: 14px;
        font-size: 6px;
    }
    
    .ciclo-stats-flotante {
        position: relative;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin-top: 6px;
        animation: none;
        width: 100%;
        justify-content: center;
    }
    
    .ciclo-p-7, .ciclo-p-8 { display: none; }
    
    @keyframes cicloOrbita1 {
        from { transform: translate(-50%, -50%) rotate(0deg) translateX(85px) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg) translateX(85px) rotate(-360deg); }
    }
    @keyframes cicloOrbita2 {
        from { transform: translate(-50%, -50%) rotate(90deg) translateX(85px) rotate(-90deg); }
        to { transform: translate(-50%, -50%) rotate(450deg) translateX(85px) rotate(-450deg); }
    }
    @keyframes cicloOrbita3 {
        from { transform: translate(-50%, -50%) rotate(180deg) translateX(85px) rotate(-180deg); }
        to { transform: translate(-50%, -50%) rotate(540deg) translateX(85px) rotate(-540deg); }
    }
    @keyframes cicloOrbita4 {
        from { transform: translate(-50%, -50%) rotate(270deg) translateX(85px) rotate(-270deg); }
        to { transform: translate(-50%, -50%) rotate(630deg) translateX(85px) rotate(-630deg); }
    }
}

@media (max-width: 400px) {
    .ciclo-contenedor {
        width: 220px;
        height: 220px;
    }
    
    .ciclo-centro-icono {
        width: 55px;
        height: 55px;
    }
    
    @keyframes cicloOrbita1 {
        from { transform: translate(-50%, -50%) rotate(0deg) translateX(70px) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg) translateX(70px) rotate(-360deg); }
    }
    @keyframes cicloOrbita2 {
        from { transform: translate(-50%, -50%) rotate(90deg) translateX(70px) rotate(-90deg); }
        to { transform: translate(-50%, -50%) rotate(450deg) translateX(70px) rotate(-450deg); }
    }
    @keyframes cicloOrbita3 {
        from { transform: translate(-50%, -50%) rotate(180deg) translateX(70px) rotate(-180deg); }
        to { transform: translate(-50%, -50%) rotate(540deg) translateX(70px) rotate(-540deg); }
    }
    @keyframes cicloOrbita4 {
        from { transform: translate(-50%, -50%) rotate(270deg) translateX(70px) rotate(-270deg); }
        to { transform: translate(-50%, -50%) rotate(630deg) translateX(70px) rotate(-630deg); }
    }
}
/* ==========================================================
   OPTIMIZACIÓN DE RENDIMIENTO PARA MÓVILES
   Mantiene animaciones en dispositivos potentes
   Desactiva solo en gama baja
   ========================================================== */

/* ==========================================================
   1. PANTALLAS MEDIANAS (Tablets y móviles grandes)
   Reducción PARCIAL - Mantiene animaciones principales
   ========================================================== */

@media (max-width: 1024px) and (min-width: 769px) {
    
    /* Reducir blur de orbes (menos costoso) */
    .ciclo-orb-fondo,
    .dinamico-orb {
        filter: blur(40px) !important;
        opacity: 0.12 !important;
    }
    
    /* Reducir partículas visibles */
    .ciclo-p-7,
    .ciclo-p-8 {
        display: none !important;
    }
    
    /* Mantener animaciones pero con menor duración */
    .ciclo-etapa-orbita-1 { animation-duration: 15s !important; }
    .ciclo-etapa-orbita-2 { animation-duration: 18s !important; }
    .ciclo-etapa-orbita-3 { animation-duration: 16s !important; }
    .ciclo-etapa-orbita-4 { animation-duration: 14s !important; }
}

/* ==========================================================
   2. MÓVILES (768px o menos)
   Reducción MODERADA - Mantiene animaciones esenciales
   ========================================================== */

@media (max-width: 768px) {
    
    /* Ocultar orbes difuminados (consumen mucho GPU) */
    .ciclo-orb-fondo {
        display: none !important;
    }
    
    /* Ocultar partículas extra */
    .ciclo-p-5,
    .ciclo-p-6,
    .ciclo-p-7,
    .ciclo-p-8 {
        display: none !important;
    }
    
    /* Mantener algunas partículas con menos opacidad */
    .ciclo-p-1,
    .ciclo-p-2,
    .ciclo-p-3,
    .ciclo-p-4 {
        opacity: 0.2 !important;
        animation-duration: 25s !important;
    }
    
    /* Desactivar patrón de puntos animado */
    .ciclo-puntos-pattern {
        animation: none !important;
    }
    
    /* Ocultar línea ECG */
    .ciclo-ecg-deco {
        display: none !important;
    }
    
    /* Reducir animación del logo (mantener pero más lenta) */
    .ciclo-centro-icono {
        animation-duration: 5s !important;
    }
    
    /* Reducir anillos pulsantes */
    .ciclo-centro-anillo {
        animation-duration: 5s !important;
    }
    
    /* Mantener órbitas pero más lentas */
    .ciclo-etapa-orbita-1 { animation-duration: 20s !important; }
    .ciclo-etapa-orbita-2 { animation-duration: 24s !important; }
    .ciclo-etapa-orbita-3 { animation-duration: 22s !important; }
    .ciclo-etapa-orbita-4 { animation-duration: 18s !important; }
    
    /* Mantener línea SVG pero más lenta */
    .ciclo-linea-animada {
        animation-duration: 16s !important;
    }
    
    .ciclo-linea-animada-2 {
        animation-duration: 16s !important;
    }
    
    /* Mantener estadísticas flotantes pero sin animación de rebote */
    .ciclo-stats-flotante {
        animation: none !important;
    }
}

/* ==========================================================
   3. MÓVILES PEQUEÑOS (480px o menos)
   Reducción IMPORTANTE - Solo animaciones mínimas
   ========================================================== */

@media (max-width: 480px) {
    
    /* Ocultar TODAS las partículas */
    .ciclo-particula {
        display: none !important;
    }
    
    /* Ocultar fondo decorativo completo */
    .hero-ciclo-bg {
        opacity: 0.3 !important;
    }
    
    /* Desactivar animación del logo */
    .ciclo-centro-icono {
        animation: none !important;
    }
    
    /* Desactivar anillos */
    .ciclo-centro-anillo {
        animation: none !important;
        opacity: 0.3 !important;
    }
    
    /* Ralentizar órbitas al máximo */
    .ciclo-etapa-orbita-1 { animation-duration: 35s !important; }
    .ciclo-etapa-orbita-2 { animation-duration: 40s !important; }
    .ciclo-etapa-orbita-3 { animation-duration: 38s !important; }
    .ciclo-etapa-orbita-4 { animation-duration: 32s !important; }
    
    /* Desactivar línea SVG animada */
    .ciclo-linea-animada,
    .ciclo-linea-animada-2 {
        animation: none !important;
        stroke-dashoffset: 0 !important;
        opacity: 0.4 !important;
    }
    
    /* Desactivar pulso en etapas */
    .ciclo-etapa-pulse {
        display: none !important;
    }
    
    /* Desactivar animación de estadísticas */
    .ciclo-stats-flotante {
        animation: none !important;
        transition: none !important;
    }
    
    /* Desactivar scroll indicator */
    .ciclo-scroll-indicador {
        display: none !important;
    }
}

/* ==========================================================
   4. PANTALLAS GRANDES (Desktop)
   MANTENER TODAS las animaciones originales
   ========================================================== */

@media (min-width: 1025px) {
    
    /* Todas las animaciones funcionan normalmente */
    /* No se aplican cambios */
    
    /* Mejorar rendimiento con GPU acceleration */
    .ciclo-orb-fondo,
    .ciclo-particula,
    .ciclo-etapa-orbita,
    .ciclo-centro-icono,
    .ciclo-centro-anillo,
    .ciclo-stats-flotante {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}

/* ==========================================================
   5. PREFERENCIA DE MOVIMIENTO REDUCIDO
   Respeta la configuración del usuario
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
    
    /* Desactivar TODAS las animaciones */
    .hero-premium-ciclo *,
    .hero-premium-ciclo *::before,
    .hero-premium-ciclo *::after {
        animation: none !important;
        transition: none !important;
    }
    
    /* Ocultar elementos decorativos */
    .ciclo-orb-fondo,
    .ciclo-particula,
    .ciclo-ecg-deco {
        display: none !important;
    }
    
    /* Línea SVG estática */
    .ciclo-linea-animada,
    .ciclo-linea-animada-2 {
        stroke-dashoffset: 0 !important;
    }
    
    /* Logo estático */
    .ciclo-centro-icono {
        animation: none !important;
    }
}

/* ==========================================================
   6. CLASE MODO RENDIMIENTO (Agregada por JavaScript)
   Para dispositivos de gama baja detectados
   ========================================================== */

.hero-premium-ciclo.modo-rendimiento .ciclo-orb-fondo,
.hero-premium-ciclo.modo-rendimiento .ciclo-particula,
.hero-premium-ciclo.modo-rendimiento .ciclo-ecg-deco,
.hero-premium-ciclo.modo-rendimiento .ciclo-puntos-pattern {
    display: none !important;
}

.hero-premium-ciclo.modo-rendimiento .ciclo-etapa-orbita {
    animation-duration: 45s !important;
}

.hero-premium-ciclo.modo-rendimiento .ciclo-centro-icono {
    animation: none !important;
}

.hero-premium-ciclo.modo-rendimiento .ciclo-centro-anillo {
    animation: none !important;
    display: none !important;
}

.hero-premium-ciclo.modo-rendimiento .ciclo-stats-flotante {
    animation: none !important;
}

.hero-premium-ciclo.modo-rendimiento .ciclo-etapa-pulse {
    display: none !important;
}

.hero-premium-ciclo.modo-rendimiento .ciclo-linea-animada,
.hero-premium-ciclo.modo-rendimiento .ciclo-linea-animada-2 {
    animation: none !important;
    stroke-dashoffset: 0 !important;
}

.hero-premium-ciclo.modo-rendimiento .badge-brillo,
.hero-premium-ciclo.modo-rendimiento .btn-ciclo-shine {
    animation: none !important;
}