/* ==========================================
   ESTILOS — YAMAHA SAN DIEGO
   ========================================== */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #0A0A0A;
    color: #f4f4f5;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #E60012; }

/* Hover tarjetas */
.card-hover {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(230, 0, 18, 0.4),
                0 0 0 1px rgba(230, 0, 18, 0.3);
}

/* Modo edición */
.editing-active [contenteditable="true"] {
    outline: 1px dashed rgba(230, 0, 18, 0.6);
    border-radius: 4px;
    padding: 2px 4px;
    transition: all 0.2s;
}
.editing-active [contenteditable="true"]:focus {
    outline: 2px solid #E60012;
    background-color: rgba(230, 0, 18, 0.15);
}

/* Botón WhatsApp flotante */
.wsp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 45;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5),
                0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: wsp-pulse 2s infinite;
}
@keyframes wsp-pulse {
    0%   { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70%  { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.7; }
}
.animate-pulse-slow {
    animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Slider premium */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 999px;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: #E60012;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(230, 0, 18, 0.2);
    transition: box-shadow 0.2s, transform 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(230, 0, 18, 0.3);
}
input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #E60012;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

/* Imágenes de motos */
.bike-image {
    object-fit: contain;
    background: linear-gradient(180deg, #0f0f10 0%, #1a1a1a 100%);
    padding: 8px;
}

img {
    background: #141414;
    transition: opacity 0.4s ease;
}

::selection {
    background-color: #E60012;
    color: white;
}