/* ZTE — la cámara se esconde bajo los píxeles de la pantalla; ondas de señal salen de donde estaba */

.cv--zte {
    --cv-bg: #021627;
    --cv-ink: #ffffff;
    --cv-muted: rgba(196, 222, 255, 0.74);
    --cv-accent: #4fb4ff;
    --cv-blue: #0a8ed9;
    --cv-font-display: 'Titillium Web', system-ui, sans-serif;
    --cv-font-body: 'Titillium Web', system-ui, sans-serif;
    --cv-cta-bg: #ffffff;
    --cv-cta-ink: #04213a;
    --cv-cta-radius: 4px;
    --cv-cta-shadow-hover: 0 0 0 3px rgba(79, 180, 255, 0.35), 0 16px 30px -12px rgba(0, 0, 0, 0.6);
    background: radial-gradient(90% 90% at 70% 30%, #0a3d68 0%, #04213a 45%, #021627 100%);
}

/* —— Fondo —— */
.cv-zt-beam {
    right: -10%;
    top: -30%;
    width: 70vw;
    height: 90vh;
    background: radial-gradient(closest-side, rgba(79, 180, 255, 0.22), transparent);
    animation: cv-breathe 7s ease-in-out infinite;
}

.cv-zt-grid {
    inset: 0;
    background-image: radial-gradient(rgba(140, 200, 255, 0.18) 1px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(50% 60% at 70% 50%, #000, transparent);
    mask-image: radial-gradient(50% 60% at 70% 50%, #000, transparent);
}

/* —— Móvil —— */
.cv--zte .cv__art-in {
    --pw: clamp(150px, min(18.5vw, 33vh), 270px);
    perspective: 1400px;
}

.cv-zt-phone {
    position: relative;
    display: block;
    width: var(--pw);
    height: calc(var(--pw) * 2.1);
    padding: calc(var(--pw) * 0.03);
    border-radius: calc(var(--pw) * 0.15);
    background: linear-gradient(135deg, #3d4a5c, #0b111a 40%, #1c2633);
    box-shadow:
        0 60px 90px -40px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 80px -10px rgba(79, 180, 255, 0.35);
    transform: rotateX(calc(var(--p) * 12deg)) rotateY(calc(-14deg + var(--p) * 14deg)) scale(calc(1 + var(--p) * 0.06));
    animation: cv-zt-in 1.3s var(--cv-ease) 0.1s backwards;
}

@keyframes cv-zt-in {
    from {
        opacity: 0;
        translate: 0 60px;
    }
}

.cv-zt-screen {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: calc(var(--pw) * 0.125);
    background:
        radial-gradient(80% 50% at 20% 90%, rgba(0, 220, 255, 0.55), transparent 70%),
        radial-gradient(70% 45% at 90% 60%, rgba(70, 90, 255, 0.6), transparent 70%),
        linear-gradient(170deg, #0a2f57 0%, #0a4c8a 55%, #062544 100%);
    filter: brightness(calc(0.9 + var(--p) * 0.35));
}

.cv-zt-swell {
    position: absolute;
    left: -40%;
    right: -40%;
    bottom: -18%;
    height: 55%;
    border-radius: 45%;
    background: rgba(140, 220, 255, 0.18);
    animation: cv-spin 16s linear infinite;
}

.cv-zt-status {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: calc(var(--pw) * 0.055);
    color: #fff;
}

.cv-zt-status i {
    width: 22%;
    height: calc(var(--pw) * 0.03);
    border-radius: 2px;
    background: linear-gradient(90deg, #fff 0 30%, transparent 30% 36%, #fff 36% 66%, transparent 66% 72%, #fff 72%);
    opacity: 0.85;
}

/* Cámara bajo el panel: se ve al encender y los píxeles la cubren */
.cv-zt-udc {
    position: absolute;
    left: 50%;
    top: 4.2%;
    width: calc(var(--pw) * 0.1);
    aspect-ratio: 1;
    transform: translateX(-50%);
}

.cv-zt-lens,
.cv-zt-pixels {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.cv-zt-lens {
    background: radial-gradient(circle at 40% 35%, #5d7cff 0 10%, #0c1020 40%, #000 70%);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.6);
    animation: cv-zt-hide 1.4s var(--cv-ease) 1.5s both, cv-zt-peek 7s ease-in-out 4s infinite;
}

.cv-zt-pixels {
    inset: -60%;
    background: repeating-linear-gradient(90deg, rgba(255, 70, 70, 0.55) 0 1px, rgba(70, 255, 120, 0.55) 1px 2px, rgba(70, 120, 255, 0.55) 2px 3px);
    -webkit-mask: radial-gradient(circle, #000 34%, transparent 62%);
    mask: radial-gradient(circle, #000 34%, transparent 62%);
    mix-blend-mode: screen;
    animation: cv-zt-pix 1.4s var(--cv-ease) 1.5s both;
}

@keyframes cv-zt-hide {
    to { opacity: 0.06; }
}

@keyframes cv-zt-peek {
    0%, 80%, 100% { opacity: 0.06; }
    88% { opacity: 0.3; }
}

@keyframes cv-zt-pix {
    from {
        opacity: 0;
        transform: scale(0.4);
    }
    60% { opacity: 1; }
    to { opacity: 0.35; }
}

.cv-zt-clock {
    position: absolute;
    left: 10%;
    top: 16%;
    font-size: calc(var(--pw) * 0.3);
    font-weight: 600;
    line-height: 0.92;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.92);
    animation: cv-fade 1s ease 1.1s both;
}

/* Ondas que salen del punto de la cámara */
.cv-zt-waves {
    position: absolute;
    left: 50%;
    top: calc(50% - var(--pw) * 1.05 + var(--pw) * 0.14);
    width: 0;
    height: 0;
}

.cv-zt-waves i {
    position: absolute;
    left: calc(var(--pw) * -1.2);
    top: calc(var(--pw) * -1.2);
    width: calc(var(--pw) * 2.4);
    height: calc(var(--pw) * 2.4);
    border: 1.5px solid rgba(79, 180, 255, 0.55);
    border-radius: 50%;
    opacity: 0;
    animation: cv-zt-wave 4.2s ease-out infinite;
}

.cv-zt-waves i:nth-child(2) { animation-delay: 1.4s; }
.cv-zt-waves i:nth-child(3) { animation-delay: 2.8s; }

@keyframes cv-zt-wave {
    0% { transform: scale(0.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 0; }
}

/* —— Texto —— */
.cv--zte .cv__kicker {
    color: var(--cv-accent);
    letter-spacing: 0.3em;
}

.cv--zte .cv__title {
    font-size: clamp(5rem, min(14vw, 24vh), 12rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 0.9;
}

.cv--zte .cv-ch {
    animation: cv-zt-letter 1.1s var(--cv-ease) both;
    animation-delay: calc((var(--d) + var(--i) * var(--step)) * 1ms);
}

@keyframes cv-zt-letter {
    from {
        opacity: 0;
        filter: blur(14px) brightness(2);
        transform: scale(1.3);
    }
}

.cv--zte .cv__lead {
    font-weight: 600;
    color: #e8f3ff;
}

.cv-zt-line {
    margin: clamp(8px, 1.4vh, 14px) 0 0;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cv-accent);
}

.cv--zte .cv__cta {
    font-weight: 700;
}

@media (max-width: 900px) {
    .cv--zte .cv__art-in {
        --pw: clamp(96px, min(28vw, 12vh), 130px);
    }

    .cv--zte .cv__title {
        font-size: clamp(4rem, 24vw, 6rem);
    }
}
