/* Konectek 3.3 - Hero compacto e iconos del menu */

#kt33 .hero,
#kt33 .slide-inner {
    min-height: 505px;
}

#kt33 .slide-inner {
    padding-top: 58px;
    padding-bottom: 78px;
}

#kt33 .hero h1 {
    max-width: 720px;
    margin: 16px 0 13px;
    font-size: clamp(35px, 4.7vw, 61px);
    line-height: 1.06;
    letter-spacing: -.035em;
}

#kt33 .hero p {
    max-width: 560px;
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.52;
}

#kt33 .hero .actions {
    margin-top: 23px;
}

#kt33 .hero .btn {
    padding: 12px 20px;
}

#kt33 .hero .eyebrow {
    font-size: 11px;
    letter-spacing: .16em;
}

/* Luz ambiental en movimiento */
#kt33 .slide::before {
    content: "";
    position: absolute;
    inset: -18%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(
        ellipse at 74% 42%,
        rgba(32,215,224,.2),
        transparent 42%
    );
    opacity: 0;
    transform: translateX(8%);
}

#kt33 .slide.active::before {
    opacity: 1;
    animation: kt33GlowFlow 6.5s ease-in-out both;
}

/* Movimiento cinematografico de imagen */
#kt33 .slide.active img {
    animation: kt33PhotoDrift 6.5s ease-out both;
}

/* Introduccion secuencial */
#kt33 .slide.active .eyebrow {
    animation: kt33IntroUp .7s .12s both;
}

#kt33 .slide.active h1 {
    animation: kt33IntroUp .85s .23s both;
}

#kt33 .slide.active .hero-copy > p {
    animation: kt33IntroUp .8s .37s both;
}

#kt33 .slide.active .actions {
    animation: kt33IntroUp .8s .52s both;
}

/* Progreso del slide */
#kt33 .dot.active {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,.48);
}

#kt33 .dot.active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #25d4dd;
    transform-origin: left;
    animation: kt33Progress 6.5s linear both;
}

#kt33 .hero:hover .dot.active::after,
#kt33 .hero:focus-within .dot.active::after {
    animation-play-state: paused;
}

@keyframes kt33IntroUp {
    from {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes kt33PhotoDrift {
    from {
        transform: scale(1.095) translateX(1.2%);
    }
    to {
        transform: scale(1.015) translateX(0);
    }
}

@keyframes kt33GlowFlow {
    from {
        transform: translateX(8%) translateY(2%);
        opacity: .35;
    }
    to {
        transform: translateX(-2%) translateY(-2%);
        opacity: 1;
    }
}

@keyframes kt33Progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Iconos dentro del megamenu existente */
.mega-menu-pro a.kt33-iconized,
.mobile-menu-pro a.kt33-iconized {
    position: relative !important;
    padding-left: 46px !important;
}

.kt33-nav-icon {
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e7f7fa;
    color: #087f9b;
    pointer-events: none;
}

.kt33-nav-icon svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kt33-iconized[data-kt-type="seguridad"] .kt33-nav-icon {
    background: #eff0ff;
    color: #6355ac;
}

.kt33-iconized[data-kt-type="comunicaciones"] .kt33-nav-icon {
    background: #e5f8fc;
    color: #007f9b;
}

.kt33-iconized[data-kt-type="ia"] .kt33-nav-icon {
    background: #e8f8f4;
    color: #07836b;
}

.kt33-iconized[data-kt-type="conectividad"] .kt33-nav-icon {
    background: #eaf2ff;
    color: #256cb3;
}

.kt33-iconized[data-kt-type="digitalizacion"] .kt33-nav-icon {
    background: #fff4e9;
    color: #bd701c;
}

.mega-menu-pro a.kt33-iconized:hover .kt33-nav-icon,
.mobile-menu-pro a.kt33-iconized:hover .kt33-nav-icon {
    background: #0f9cba;
    color: #fff;
}

@media (max-width: 760px) {
    #kt33 .hero,
    #kt33 .slide-inner {
        min-height: 580px;
    }

    #kt33 .slide-inner {
        padding-top: 53px;
        padding-bottom: 95px;
    }

    #kt33 .hero h1 {
        font-size: clamp(32px, 8vw, 44px);
    }

    #kt33 .hero p {
        font-size: 16px;
        max-width: 520px;
    }
}

@media (max-width: 490px) {
    #kt33 .hero,
    #kt33 .slide-inner {
        min-height: 595px;
    }

    #kt33 .hero h1 {
        font-size: clamp(31px, 8.5vw, 39px);
    }

    #kt33 .hero .actions {
        gap: 9px;
    }

    #kt33 .hero .btn {
        padding: 12px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #kt33 .slide.active img,
    #kt33 .slide.active::before,
    #kt33 .slide.active .eyebrow,
    #kt33 .slide.active h1,
    #kt33 .slide.active .hero-copy > p,
    #kt33 .slide.active .actions,
    #kt33 .dot.active::after {
        animation: none !important;
    }
}
