/* ======================
   Lienzo Interactivo
   ====================== */
.interactive-canvas-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 50%, #f0f0f0 100%);
    position: relative;
    overflow: hidden;
}

.interactive-canvas-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    animation: liquidMove 15s ease-in-out infinite;
    pointer-events: none;
}

.canvas-container {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    padding: 2rem;
    animation: slideIn 0.8s ease-out;
}

.canvas-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-light);
}

.tool-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tool-group label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.brush-types {
    display: flex;
    gap: 0.5rem;
}

.brush-type-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--bg-light);
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-light);
}

.brush-type-btn:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.brush-type-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    animation: pulseGlow 2s ease-in-out infinite;
}

.brush-slider {
    width: 150px;
    height: 6px;
    border-radius: 10px;
    background: linear-gradient(to right, #e0e0e0, var(--accent-color));
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.brush-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.brush-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

.color-palette {
    display: flex;
    gap: 0.5rem;
}

.color-btn {
    width: 35px;
    height: 35px;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.color-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.color-btn.active {
    border-color: var(--primary-color);
    transform: scale(1.2);
    animation: wave 1s ease-in-out infinite;
}

.tool-actions {
    display: flex;
    gap: 1rem;
    margin-left: auto;
    align-items: flex-end;
}

.btn-canvas-action {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--accent-color);
    background: white;
    color: var(--accent-color);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-canvas-action:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.btn-save {
    background: var(--accent-color);
    color: white;
}

.btn-save:hover {
    background: #b8941f;
}

.canvas-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
    background: #fafafa;
    min-height: 600px;
}

#paintCanvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    background: white;
}

.canvas-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-size: 1.2rem;
    font-style: italic;
    pointer-events: none;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

/* ======================
   Interacción Artística Sutil
   ====================== */
.interactive-art-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #ffffff, #f8f8f8);
    position: relative;
    overflow: hidden;
}

.interactive-art-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
}

.interactive-art-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.interactive-art-text {
    padding: 2rem;
}

.interactive-art-description {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.1rem;
    margin: 2rem 0;
    font-style: italic;
}

.canvas-mini-tools {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 2.5rem;
}

.tool-mini-group {
    display: flex;
    gap: 0.8rem;
}

.brush-mini-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--bg-light);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-light);
}

.brush-mini-btn:hover {
    border-color: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.brush-mini-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.btn-mini-clear {
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--text-light);
    background: white;
    color: var(--text-light);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-mini-clear:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.interactive-art-canvas {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    background: white;
    aspect-ratio: 4/3;
}

#paintCanvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.canvas-mini-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    pointer-events: none;
    opacity: 0.5;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    animation: float 3s ease-in-out infinite;
}

/* ======================
   Sección de Prensa
   ====================== */
.press-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.press-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, var(--bg-light), transparent);
    pointer-events: none;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.press-item {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.press-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.press-item:hover::before {
    left: 100%;
}

.press-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
    border-color: var(--accent-color);
}

.press-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), #b8941f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.press-icon i {
    font-size: 2rem;
    color: white;
}

.press-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.press-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.press-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.press-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.press-link:hover::after {
    width: 100%;
}

.press-link:hover {
    gap: 1rem;
    color: #b8941f;
}

/* ======================
   Botón Flotante WhatsApp
   ====================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulseGlow 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 2rem;
    color: white;
}

/* Tooltip del botón flotante */
.whatsapp-float::before {
    content: '¿Cotización? Escríbeme';
    position: absolute;
    right: 75px;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.whatsapp-float:hover::before {
    opacity: 1;
    right: 80px;
}

/* Responsive Canvas */
@media (max-width: 768px) {
    .interactive-art-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .interactive-art-text {
        padding: 1rem;
    }
    
    .canvas-mini-tools {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .btn-mini-clear {
        width: 100%;
        justify-content: center;
    }
    
    .press-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float i {
        font-size: 1.6rem;
    }
    
    .whatsapp-float::before {
        display: none;
    }
}
