body {
    font-family: 'Inter', sans-serif;
}
.gradient-bg {
    background-color: #111827;
    background-image: radial-gradient(circle at top left, rgba(55, 65, 81, 0.4), transparent 30%),
                      radial-gradient(circle at bottom right, rgba(79, 70, 229, 0.3), transparent 40%);
}
.testimonial-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
    mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

.testimonial-track {
    display: flex;
    width: max-content;
    animation: scroll 60s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    width: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.guarantee-box {
    border: 2px solid #39E59C;
    background-color: #1a202c;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 80vw;
    }
}

/* Boton flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Sombra difusa y neutra: la anterior era gris solida en diagonal y
       sobre el fondo oscuro se veia como una mancha. */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.whatsapp-float:active {
    transform: scale(0.97);
}

@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }
}

/* --- Accesibilidad tactil y feedback de botones --- */

/* Area minima de toque recomendada (Apple/Google): 44x44 px. */
.mobile-menu-button {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
}

/* Todo lo clickeable responde al hover y al toque. */
a,
button {
    -webkit-tap-highlight-color: rgba(57, 229, 156, 0.2);
}

a[class*="rounded-lg"],
button[class*="rounded-lg"] {
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

/* Hundido al presionar: confirma el toque antes de que cargue la pagina. */
a[class*="rounded-lg"]:active,
button[class*="rounded-lg"]:active {
    transform: translateY(1px) scale(0.985);
}

/* Foco visible para navegacion por teclado. */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid #39E59C;
    outline-offset: 3px;
    border-radius: 0.25rem;
}

/* El resumen del acordeon (FAQ) tambien es clickeable. */
details summary {
    transition: background-color 0.15s ease;
}

details summary:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Cursor de mano en todo lo accionable, incluido el acordeon. */
summary,
.whatsapp-float {
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float,
    a[class*="rounded-lg"],
    button[class*="rounded-lg"] {
        transition: none;
    }
    .testimonial-track {
        animation: none;
    }
}