﻿:root {
    --ai-z: 50;
}

.ai-float {
    position: fixed;
    right: 22px;
    top: 220px;
    width: min(340px, calc(100vw - 44px));
    z-index: var(--ai-z);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(10, 14, 22, .55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 16px 44px rgba(0,0,0,.28);
}

    .ai-float * {
        box-sizing: border-box;
    }

.ai-float__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.ai-float__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand, #91D42C);
    box-shadow: 0 0 0 4px rgba(145, 212, 44, 0.16);
    flex: 0 0 auto;
}

.ai-float__brand {
    font-weight: 650;
    font-size: .9rem;
    letter-spacing: .2px;
}

.ai-float__status {
    margin-left: 6px;
    font-size: .85rem;
    opacity: .85;
    white-space: nowrap;
}

.ai-float__toggle {
    margin-left: auto;
    width: 28px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.9);
    line-height: 1;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

    .ai-float__toggle:hover {
        background: rgba(255,255,255,.10);
    }

.ai-float__body {
    padding: 12px 12px 10px;
}

.ai-float__text {
    margin: 0;
    font-size: .95rem;
    line-height: 1.45;
    opacity: .95;
}

.ai-float__cursor {
    display: inline-block;
    margin-left: 2px;
    transform: translateY(1px);
    animation: aiFloatBlink 1s steps(2,start) infinite;
    opacity: .9;
}

@keyframes aiFloatBlink {
    0%,49% {
        opacity: 1
    }

    50%,100% {
        opacity: 0
    }
}

.ai-float__actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.ai-float__cta {
    font-size: .9rem;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    text-decoration: none;
    color: inherit;
}

    .ai-float__cta:hover {
        background: rgba(255,255,255,.10);
    }

.ai-float--min .ai-float__body {
    display: none;
}

@media (max-width: 900px) {
    .ai-float {
        left: 12px;
        right: 12px;
        bottom: 12px;
        top: auto !important;
        width: auto;
    }
}

.ai-float--dragging {
    user-select: none;
}

.ai-float__head {
    touch-action: none;
}
/* evita scroll mientras arrastra */


@media (max-width:760px) {
    .hero {
        min-height: 60svh;
    }
}

@media (max-width: 520px) {
    .process__cards {
        grid-template-columns: 1fr;
    }

    .process-card {
        padding: 18px;
    }
}
